test-completion: test completion of tags
authorBryan O'Sullivan <bryano@fb.com>
Thu, 21 Mar 2013 22:42:51 -0700
changeset 18800 a624210e4866
parent 18799 0ed95fe674a8
child 18801 c84cc0f3364a
test-completion: test completion of tags
tests/test-completion.t
--- a/tests/test-completion.t	Thu Mar 21 22:29:31 2013 -0700
+++ b/tests/test-completion.t	Thu Mar 21 22:42:51 2013 -0700
@@ -287,14 +287,15 @@
   $ cd a
   $ echo fee > fee
   $ hg ci -q -Amfee
+  $ hg tag fee
   $ mkdir fie
   $ echo dead > fie/dead
   $ echo live > fie/live
   $ hg bookmark fo
-  $ hg branch fie
+  $ hg branch -q fie
   $ hg ci -q -Amfie
   $ echo fo > fo
-  $ hg branch default
+  $ hg branch -qf default
   $ hg ci -q -Amfo
   $ echo Fum > Fum
   $ hg ci -q -AmFum
@@ -303,16 +304,33 @@
 Test debugpathcomplete
 
   $ hg debugpathcomplete f
+  fee
+  fie/
+  fo
   $ hg debugpathcomplete -f f
+  fee
+  fie/dead
+  fie/live
+  fo
 
   $ hg rm Fum
   $ hg debugpathcomplete -r F
+  Fum
 
 If one directory and no files match, give an ambiguous answer
 
   $ hg debugpathcomplete fi
+  fie/
+  fie/.
 
 Test debuglabelcomplete
 
   $ hg debuglabelcomplete
+  Fum
+  default
+  fee
+  fo
+  tip
   $ hg debuglabelcomplete f
+  fee
+  fo