changeset 24220:fe195d41f7d2

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.
author Augie Fackler <augie@google.com>
date Mon, 26 Jan 2015 15:52:46 -0500
parents 282c0d8c1880
children 4e240d6ab898
files tests/test-revset.t
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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'