diff tests/test-alias.t @ 16294:795d591b6ef5 stable

alias: abort on missing positional args (issue3331)
author Matt Mackall <mpm@selenic.com>
date Tue, 27 Mar 2012 16:13:59 -0500
parents d0f2a89c8cfa
children d36a384bec87
line wrap: on
line diff
--- a/tests/test-alias.t	Wed Feb 15 17:30:21 2012 -0500
+++ b/tests/test-alias.t	Tue Mar 27 16:13:59 2012 -0500
@@ -134,6 +134,12 @@
 
 positional arguments
 
+  $ hg positional
+  abort: too few arguments for command alias
+  [255]
+  $ hg positional a
+  abort: too few arguments for command alias
+  [255]
   $ hg positional 'node|short' rev
   0 e63c23eaa88a | 1970-01-01 00:00 +0000