[PATCH 3 of 4] test-fileset: eliminate a duplicate test that was conditionalized for output

Matt Harbison mharbison72 at gmail.com
Sat Apr 8 22:37:47 EDT 2017


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1491678109 14400
#      Sat Apr 08 15:01:49 2017 -0400
# Node ID 651cf90e65f6c5f5717caa9779f268319e2bc676
# Parent  d236dca9355d6af70f20ba7966ccf903657a61c8
test-fileset: eliminate a duplicate test that was conditionalized for output

diff --git a/tests/test-fileset.t b/tests/test-fileset.t
--- a/tests/test-fileset.t
+++ b/tests/test-fileset.t
@@ -348,7 +348,6 @@
 
 Test safety of 'encoding' on removed files
 
-#if symlink
   $ fileset 'encoding("ascii")'
   dos
   mac
@@ -359,23 +358,9 @@
   2k
   b1
   b2
-  b2link
+  b2link (symlink !)
   bin
   c1
-#else
-  $ fileset 'encoding("ascii")'
-  dos
-  mac
-  mixed
-  .hgsub
-  .hgsubstate
-  1k
-  2k
-  b1
-  b2
-  bin
-  c1
-#endif
 
 Test detection of unintentional 'matchctx.existing()' invocation
 


More information about the Mercurial-devel mailing list