tests(echo): ensure arguments in variables work

This commit is contained in:
Khaïs COLIN 2025-04-25 14:39:08 +02:00
parent e5027323e1
commit 08baee41b6

View file

@ -1120,4 +1120,13 @@ expecting <<"EOF"
- hello world -$
EOF
when_run <<"EOF" "echo arguments in variables"
export VAR="-n hello"
echo $VAR | cat -e
echo
EOF
expecting <<"EOF"
hello
EOF
finalize