tests/test-bookmarks.t
changeset 17821 361ab1e2086f
parent 17816 19388ba75a06
child 17850 71c1513fd560
--- a/tests/test-bookmarks.t	Wed Oct 17 21:39:07 2012 -0500
+++ b/tests/test-bookmarks.t	Wed Oct 17 21:42:06 2012 -0500
@@ -302,7 +302,12 @@
 invalid bookmark
 
   $ hg bookmark 'foo:bar'
-  abort: bookmark 'foo:bar' contains illegal character
+  abort: ':' cannot be used in a bookmark name
+  [255]
+
+  $ hg bookmark 'foo
+  > bar'
+  abort: '\n' cannot be used in a bookmark name
   [255]
 
 the bookmark extension should be ignored now that it is part of core