aboutsummaryrefslogtreecommitdiff
path: root/acid_test.go
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-04-17 01:44:57 +0200
committerPřemysl Eric Janouch <p@janouch.name>2024-04-17 01:45:13 +0200
commit4a23c47a924116b4ac8b8afb68ce1f372fa5c448 (patch)
treec6d4b404c94ec79af65115d5dc5ac485d92019dd /acid_test.go
parentb594ff78b22452b1260286f86fc5a40dbf3d38d9 (diff)
downloadacid-4a23c47a924116b4ac8b8afb68ce1f372fa5c448.tar.gz
acid-4a23c47a924116b4ac8b8afb68ce1f372fa5c448.tar.xz
acid-4a23c47a924116b4ac8b8afb68ce1f372fa5c448.zip
Adjust shell quoting
Diffstat (limited to 'acid_test.go')
-rw-r--r--acid_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/acid_test.go b/acid_test.go
index f23d892..614fd0a 100644
--- a/acid_test.go
+++ b/acid_test.go
@@ -12,7 +12,7 @@ func TestTemplateQuote(t *testing.T) {
for _, test := range []struct {
input, output string
}{
- {`!!`, `'!!'`},
+ {`!!'!$`, `'!!'\''!$'`},
{``, `""`},
{`${var}`, `"\${var}"`},
{"`cat`", "\"\\`cat\\`\""},