Fixed some tests

This commit is contained in:
Thomas Pelletier
2021-03-01 20:50:18 -05:00
parent c77f1d815c
commit bf051f1718
4 changed files with 30 additions and 26 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ func scanMultilineBasicString(b []byte) ([]byte, []byte, error) {
switch b[i] {
case '"':
if scanFollowsMultilineBasicStringDelimiter(b[i:]) {
return b[:i+3], b[:i+3], nil
return b[:i+3], b[i+3:], nil
}
case '\\':
if len(b) < i+2 {