changeset 39249:aec7109aeb39

test-fastannotate: fix trivial output differences on Windows
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 21 Aug 2018 21:43:44 -0400
parents 57d4754e44b8
children 659f010ffa7e
files tests/test-fastannotate-hg.t
diffstat 1 files changed, 4 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- 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