comparison tests/test-alias.t @ 22157:bd45d92883f9

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.
author Siddharth Agarwal <sid0@fb.com>
date Wed, 13 Aug 2014 22:37:09 -0700
parents 9a299c39de01
children bc2132dfc0a4
comparison
equal deleted inserted replaced
22156:03a45eff9d2b 22157:bd45d92883f9
227 227
228 $ hg echoall foo 228 $ hg echoall foo
229 foo 229 foo
230 $ hg echoall 'test $2' foo 230 $ hg echoall 'test $2' foo
231 test $2 foo 231 test $2 foo
232 $ hg echoall 'test $@' foo '$@'
233 test $@ foo $@
234 $ hg echoall 'test "$@"' foo '"$@"'
235 test "$@" foo "$@"
232 $ hg echo1 foo bar baz 236 $ hg echo1 foo bar baz
233 foo 237 foo
234 $ hg echo2 foo bar baz 238 $ hg echo2 foo bar baz
235 bar 239 bar
236 $ hg echo13 foo bar baz test 240 $ hg echo13 foo bar baz test