test-revset: add tests for missing function output
authorAugie Fackler <augie@google.com>
Mon, 26 Jan 2015 15:52:46 -0500
changeset 24220 fe195d41f7d2
parent 24219 282c0d8c1880
child 24221 4e240d6ab898
test-revset: add tests for missing function output An upcoming change will slightly alter behavior here. Adding the test now so the output change stands out in the later changeset.
tests/test-revset.t
--- a/tests/test-revset.t	Mon Jan 26 14:32:30 2015 -0500
+++ b/tests/test-revset.t	Mon Jan 26 15:52:46 2015 -0500
@@ -888,6 +888,20 @@
   hg: parse error: ^ expects a number 0, 1, or 2
   [255]
 
+Bogus function gets suggestions
+  $ log 'add()'
+  hg: parse error: not a function: add
+  [255]
+  $ log 'added()'
+  hg: parse error: not a function: added
+  [255]
+  $ log 'remo()'
+  hg: parse error: not a function: remo
+  [255]
+  $ log 'babar()'
+  hg: parse error: not a function: babar
+  [255]
+
 multiple revspecs
 
   $ hg log -r 'tip~1:tip' -r 'tip~2:tip~1' --template '{rev}\n'