# HG changeset patch # User Siddharth Agarwal # Date 2014-08-14 05:37:09 # 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 --git a/tests/test-alias.t b/tests/test-alias.t --- a/tests/test-alias.t +++ b/tests/test-alias.t @@ -229,6 +229,10 @@ simple shell aliases 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