commit | bd7bffec30aa7ee0dec73202aad1cbd788d21239 | [log] [tgz] |
---|---|---|
author | M. J. Fromberger <michael.j.fromberger@gmail.com> | Tue Jan 05 09:23:02 2016 -0800 |
committer | M. J. Fromberger <michael.j.fromberger@gmail.com> | Tue Jan 05 09:23:02 2016 -0800 |
tree | 09228cb61aa1e3f2647a74bc337afecb2eb12d42 | |
parent | ec2cdef6d81949a3621ffa9fab4a98cdeb3d4842 [diff] |
Add another quoted string test case.
diff --git a/shell_test.go b/shell_test.go index 3d4b55b..c729410 100644 --- a/shell_test.go +++ b/shell_test.go
@@ -68,6 +68,7 @@ {"''", []string{""}, true}, {"a ''", []string{"a", ""}, true}, {" a \"\" b ", []string{"a", "", "b"}, true}, + {"'' a", []string{"", "a"}, true}, // Unbalanced quotation marks and escapes are detected. {"\\", []string{""}, false},