--- a/tests/test-topic-stack.t Wed Dec 05 23:13:26 2018 +0800
+++ b/tests/test-topic-stack.t Wed Dec 05 23:15:29 2018 +0800
@@ -322,11 +322,11 @@
5 default {foo} draft c_f
$ hg log -r 'stack(foo)'
- hg: parse error: stack() takes no argument, it works on current topic
+ hg: parse error: stack takes no arguments, it works on current topic
[255]
$ hg log -r 'stack(foobar)'
- hg: parse error: stack() takes no argument, it works on current topic
+ hg: parse error: stack takes no arguments, it works on current topic
[255]
Case with multiple heads on the topic