mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
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.
This commit is contained in:
parent
5b7e70a4d0
commit
a15c76a2c8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user