diff tests/test-revset.t @ 13925:c315ffc13a25

tests: add tests for non-existant branch/tag/bookmark
author Idan Kamara <idankk86@gmail.com>
date Sun, 10 Apr 2011 11:30:53 +0300
parents e798e430c5e5
children 34f577007ffe
line wrap: on
line diff
--- a/tests/test-revset.t	Sun Apr 10 10:01:42 2011 +0900
+++ b/tests/test-revset.t	Sun Apr 10 11:30:53 2011 +0300
@@ -297,6 +297,12 @@
   6
   $ log 'tag(tip)'
   9
+  $ log 'tag(unknown)'
+  abort: tag 'unknown' does not exist
+  [255]
+  $ log 'branch(unknown)'
+  abort: unknown revision 'unknown'!
+  [255]
   $ log 'user(bob)'
   2