tests: test for dispatch on [defaults]: more clearly differing output
authorCédric Duval <cedricduval@free.fr>
Sun, 24 May 2009 22:15:48 +0200
changeset 8637 c88c8d59979f
parent 8636 7aa1526d4fc5
child 8638 c6483eec6092
tests: test for dispatch on [defaults]: more clearly differing output Using '-r null' instead of '-v' as the overriden command default. The latter did not have any effect on output, thus not giving much indication on whether the modified defaults were really in use or not.
tests/test-dispatch
tests/test-dispatch.out
--- a/tests/test-dispatch	Wed May 27 16:25:31 2009 +0200
+++ b/tests/test-dispatch	Sun May 24 22:15:48 2009 +0200
@@ -15,7 +15,7 @@
 hg cat a
 cat >> $HGRCPATH <<EOF
 [defaults]
-cat = -v
+cat = -r null
 EOF
 hg cat a
 
--- a/tests/test-dispatch.out	Wed May 27 16:25:31 2009 +0200
+++ b/tests/test-dispatch.out	Sun May 24 22:15:48 2009 +0200
@@ -28,6 +28,6 @@
 use "hg -v help cat" to show global options
 % [defaults]
 a
-a
+a: No such file in rev 000000000000
 % no repo
 abort: There is no Mercurial repository here (.hg not found)!