commit | e397ab2e2099268f48165498fc4ca176149758e0 | [log] [tgz] |
---|---|---|
author | PJ Eby <pje@telecommunity.com> | Fri Apr 27 11:37:44 2018 -0400 |
committer | PJ Eby <pje@telecommunity.com> | Fri Apr 27 11:37:44 2018 -0400 |
tree | db1e79677966df5fb9030be38975db74c82a7d6a | |
parent | 4bf47a61c1d41fe5b238031b05a84a1bfa7f2e5a [diff] |
Add explicit test case for EOF during whitespace
diff --git a/unquote_test.go b/unquote_test.go index c4b076a..19c10d9 100644 --- a/unquote_test.go +++ b/unquote_test.go
@@ -51,4 +51,5 @@ {"'test'\\''ing", UnterminatedSingleQuoteError}, {"\"foo'bar", UnterminatedDoubleQuoteError}, {"foo\\", UnterminatedEscapeError}, + {" \\", UnterminatedEscapeError}, }