tests/test-purge.t
changeset 44335 9f8eddd2723f
parent 41747 c70bdd222dcd
child 44724 5c2a4f37eace
--- a/tests/test-purge.t	Thu Jan 30 19:50:43 2020 -0500
+++ b/tests/test-purge.t	Sat Feb 08 10:22:47 2020 -0500
@@ -120,19 +120,32 @@
   directory/untracked_file
   $ rm directory/untracked_file
 
-skip ignored files if --all not specified
+skip ignored files if -i or --all not specified
 
   $ touch ignored
   $ hg purge -p
   $ hg purge -v
+  $ touch untracked_file
   $ ls
   directory
   ignored
   r1
+  untracked_file
+  $ hg purge -p -i
+  ignored
+  $ hg purge -v -i
+  removing file ignored
+  $ ls
+  directory
+  r1
+  untracked_file
+  $ touch ignored
   $ hg purge -p --all
   ignored
+  untracked_file
   $ hg purge -v --all
   removing file ignored
+  removing file untracked_file
   $ ls
   directory
   r1