test-alias: add some tests to ensure we aren't double-substituting
An earlier iteration of an upcoming patch caused inadvertent
double substitution. Ensure we have test coverage for this.
--- a/tests/test-alias.t Thu Jul 31 16:03:26 2014 -0700
+++ b/tests/test-alias.t Wed Aug 13 22:37:09 2014 -0700
@@ -229,6 +229,10 @@
foo
$ hg echoall 'test $2' foo
test $2 foo
+ $ hg echoall 'test $@' foo '$@'
+ test $@ foo $@
+ $ hg echoall 'test "$@"' foo '"$@"'
+ test "$@" foo "$@"
$ hg echo1 foo bar baz
foo
$ hg echo2 foo bar baz