tests/test-addremove.t
changeset 23534 83bbedc16b3f
parent 23427 3778884197f0
child 23535 72c23fa4f52f
--- a/tests/test-addremove.t	Sun Nov 09 19:57:02 2014 -0500
+++ b/tests/test-addremove.t	Wed Nov 26 14:27:36 2014 -0500
@@ -22,6 +22,16 @@
   $ hg forget foo
   $ hg -v addremove
   adding foo
+  $ hg forget foo
+#if windows
+  $ hg -v addremove nonexistant
+  nonexistant: The system cannot find the file specified
+  [1]
+#else
+  $ hg -v addremove nonexistant
+  nonexistant: No such file or directory
+  [1]
+#endif
   $ cd ..
 
   $ hg init subdir