From 08baee41b6f852a0a17f91c3b47002858f76e2cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kha=C3=AFs=20COLIN?= Date: Fri, 25 Apr 2025 14:39:08 +0200 Subject: [PATCH] tests(echo): ensure arguments in variables work --- test.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test.sh b/test.sh index 669828d..3da9c00 100755 --- a/test.sh +++ b/test.sh @@ -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