diff tests/test-dispatch @ 4621:6fc26982f203

dispatch: fix handling of incorrect number of arguments
author Matt Mackall <mpm@selenic.com>
date Mon, 18 Jun 2007 13:24:34 -0500
parents 8044be585b91
children e0e73ba37983
line wrap: on
line diff
--- a/tests/test-dispatch	Mon Jun 18 13:24:34 2007 -0500
+++ b/tests/test-dispatch	Mon Jun 18 13:24:34 2007 -0500
@@ -6,6 +6,9 @@
 echo a > a
 hg ci -Ama -d '0 0'
 
+echo "# missing arg"
+hg cat
+
 echo '% [defaults]'
 hg cat a
 cat > $HGRCPATH <<EOF
@@ -13,3 +16,4 @@
 cat = -v
 EOF
 hg cat a
+