tests/test-fastannotate-hg.t
changeset 39249 aec7109aeb39
parent 39210 1ddb296e0dee
child 39279 cb9cf42c902f
--- a/tests/test-fastannotate-hg.t	Tue Aug 21 21:29:10 2018 -0400
+++ b/tests/test-fastannotate-hg.t	Tue Aug 21 21:43:44 2018 -0400
@@ -594,28 +594,18 @@
 annotate missing file
 
   $ rm baz
-#if windows
   $ hg annotate -ncr "wdir()" baz
-  abort: $TESTTMP\repo\baz: The system cannot find the file specified
+  abort: $TESTTMP/repo/baz: $ENOENT$ (windows !)
+  abort: $ENOENT$: $TESTTMP/repo/baz (no-windows !)
   [255]
-#else
-  $ hg annotate -ncr "wdir()" baz
-  abort: $ENOENT$: $TESTTMP/repo/baz
-  [255]
-#endif
 
 annotate removed file
 
   $ hg rm baz
-#if windows
   $ hg annotate -ncr "wdir()" baz
-  abort: $TESTTMP\repo\baz: The system cannot find the file specified
+  abort: $TESTTMP/repo/baz: $ENOENT$ (windows !)
+  abort: $ENOENT$: $TESTTMP/repo/baz (no-windows !)
   [255]
-#else
-  $ hg annotate -ncr "wdir()" baz
-  abort: $ENOENT$: $TESTTMP/repo/baz
-  [255]
-#endif
 
 Test annotate with whitespace options