tests/test-topic-stack.t
changeset 2627 42abd3bd30ee
parent 2626 bc36a608e9e4
child 2669 b933a8068c17
--- a/tests/test-topic-stack.t	Mon Jun 19 02:50:35 2017 +0530
+++ b/tests/test-topic-stack.t	Mon Jun 19 03:13:35 2017 +0530
@@ -319,3 +319,11 @@
   t2@ c_D (current)
   t1: c_c
     ^ c_b
+
+Trying to list non existing topic
+  $ hg stack thisdoesnotexist
+  abort: cannot resolve "thisdoesnotexist": no such topic found
+  [255]
+  $ hg topic --list thisdoesnotexist
+  abort: cannot resolve "thisdoesnotexist": no such topic found
+  [255]