tests/test-mq-qnew.t
branchstable
changeset 12879 da4a9ed369c8
parent 12878 1634287b6ab1
child 12960 e339346a9b05
--- a/tests/test-mq-qnew.t	Fri Oct 29 15:25:21 2010 +0200
+++ b/tests/test-mq-qnew.t	Fri Oct 29 14:06:06 2010 +0200
@@ -25,6 +25,7 @@
   >     echo '% qnew with name containing slash'
   >     hg qnew foo/
   >     hg qnew foo/bar.patch
+  >     hg qnew foo
   >     hg qseries
   >     hg qpop
   >     hg qdelete foo/bar.patch
@@ -107,6 +108,7 @@
   abort: "foo:bar" cannot be used as the name of a patch
   % qnew with name containing slash
   abort: cannot write patch "foo/": Is a directory
+  abort: "foo" already exists as a directory
   foo/bar.patch
   popping foo/bar.patch
   patch queue now empty
@@ -171,6 +173,7 @@
   abort: "foo:bar" cannot be used as the name of a patch
   % qnew with name containing slash
   abort: cannot write patch "foo/": Is a directory
+  abort: "foo" already exists as a directory
   foo/bar.patch
   popping foo/bar.patch
   patch queue now empty