tests/test-extension.t
changeset 38162 bdf344aea0ee
parent 38018 a9ffb4a577d0
child 38534 b86664c81833
--- a/tests/test-extension.t	Thu Apr 26 23:00:19 2018 -0400
+++ b/tests/test-extension.t	Thu May 03 18:38:02 2018 +0900
@@ -1229,9 +1229,14 @@
 
   $ cat > hgext/forest.py <<EOF
   > cmdtable = None
+  > @command()
+  > def f():
+  >     pass
+  > @command(123)
+  > def g():
+  >     pass
   > EOF
   $ hg --config extensions.path=./path.py help foo > /dev/null
-  warning: error finding commands in $TESTTMP/hgext/forest.py
   abort: no such help topic: foo
   (try 'hg help --keyword foo')
   [255]