tests/test-annotate.t
changeset 30754 26209cb7184e
parent 30719 42c75b4fa46a
child 30800 cd23879cbac7
--- a/tests/test-annotate.t	Mon Jan 09 15:25:52 2017 +0900
+++ b/tests/test-annotate.t	Mon Jan 09 16:02:56 2017 +0900
@@ -582,6 +582,15 @@
   $ hg up 23 --quiet
 
 check error cases
+  $ hg log -r 'followlines()'
+  hg: parse error: followlines takes at least 1 positional arguments
+  [255]
+  $ hg log -r 'followlines(baz)'
+  hg: parse error: followlines takes at least three arguments
+  [255]
+  $ hg log -r 'followlines(baz, 1)'
+  hg: parse error: followlines takes at least three arguments
+  [255]
   $ hg log -r 'followlines(baz, 1, 2, rev=desc("b"))'
   hg: parse error: followlines expects exactly one revision
   [255]