# HG changeset patch # User Siddharth Agarwal # Date 1407994629 25200 # Node ID bd45d92883f966ebf47dee8a9599791814c45f8d # Parent 03a45eff9d2b61e02d4f5a61bf4d603d28fb67e2 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. diff -r 03a45eff9d2b -r bd45d92883f9 tests/test-alias.t --- 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