Adjust shell quoting
All checks were successful
Alpine 3.19 Success

This commit is contained in:
2024-04-17 01:44:57 +02:00
parent b594ff78b2
commit 4a23c47a92
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ func TestTemplateQuote(t *testing.T) {
for _, test := range []struct {
input, output string
}{
{`!!`, `'!!'`},
{`!!'!$`, `'!!'\''!$'`},
{``, `""`},
{`${var}`, `"\${var}"`},
{"`cat`", "\"\\`cat\\`\""},