fix: Don't double backslashes in shellQuote
This commit is contained in:
1 parent
740f357900
commit
57b732b602
2 files changed
+5
-9
No files matched your search
@@ -14,8 +14,10 @@ func TestShellQuote(t *testing.T) {
|
||||
`'`: `\'`,
|
||||
`''`: `\'\'`,
|
||||
`'a'`: `\''a'\'`,
|
||||
`\`: `'\\'`,
|
||||
`\a`: `'\\a'`,
|
||||
`\`: `'\'`,
|
||||
`\'`: `'\'\'`,
|
||||
`\a`: `'\a'`,
|
||||
`\n`: `'\n'`,
|
||||
`$a`: `'$a'`,
|
||||
`a`: `a`,
|
||||
`a/b`: `a/b`,
|
||||
|
||||
Reference in new issue
Block a user