tests/test-topic-stack.t
changeset 2681 aa4db71a6224
parent 2670 f5d52fa1cd55
child 2684 90e11985d0cc
--- a/tests/test-topic-stack.t	Thu Jun 29 00:11:07 2017 +0530
+++ b/tests/test-topic-stack.t	Thu Jun 29 01:58:26 2017 +0530
@@ -216,6 +216,14 @@
   4 default {foo} draft c_e
   5 default {foo} draft c_f
 
+  $ hg log -r 'stack(foo)'
+  hg: parse error: stack() takes no argument, it works on current topic
+  [255]
+
+  $ hg log -r 'stack(foobar)'
+  hg: parse error: stack() takes no argument, it works on current topic
+  [255]
+
 Case with multiple heads on the topic
 -------------------------------------