test-status-rev: conditionalize output instead of tests
authorMatt Harbison <matt_harbison@yahoo.com>
Sat, 08 Jul 2017 18:46:43 -0400
changeset 33343 305935be8d5c
parent 33342 96eb3f50f75c
child 33344 1e872b08a4e9
test-status-rev: conditionalize output instead of tests
tests/test-status-rev.t
--- a/tests/test-status-rev.t	Sat Jul 08 18:46:12 2017 -0400
+++ b/tests/test-status-rev.t	Sat Jul 08 18:46:43 2017 -0400
@@ -81,13 +81,10 @@
   $ hg status -A --rev 1 'glob:missing_*_missing-tracked'
   ! missing_content2_missing-tracked
   ! missing_missing_missing-tracked
-#if windows
+
   $ hg status -A --rev 1 'glob:missing_missing_missing-untracked'
-  missing_missing_missing-untracked: The system cannot find the file specified
-#else
-  $ hg status -A --rev 1 'glob:missing_missing_missing-untracked'
-  missing_missing_missing-untracked: No such file or directory
-#endif
+  missing_missing_missing-untracked: The system cannot find the file specified (windows !)
+  missing_missing_missing-untracked: No such file or directory (no-windows !)
 
 Status between first and second commit. Should ignore dirstate status.