fix(expansion/wildcard): do not remove quotes twice on non-pattern strings

There is still an issue with removing too many quotes when expanding variables
(see #138). This will be tackled in a later PR.
This commit is contained in:
Khaïs COLIN 2025-04-22 12:45:28 +02:00
parent aca85c3583
commit 2180909285
4 changed files with 19 additions and 5 deletions

View file

@ -928,4 +928,12 @@ expecting <<EOF
hello
EOF
when_run <<"EOF" "unquoting behaviour"
export target="'outfile'"
echo $target
EOF
expecting <<EOF
'outfile'
EOF
finalize