Fix syntax highlighting of multiline tokens

This commit is contained in:
Kovid Goyal
2023-03-23 11:49:35 +05:30
parent 4c9efb6ff2
commit 09c6a68804
2 changed files with 25 additions and 3 deletions

View File

@@ -21,6 +21,7 @@ func TestStringScanner(t *testing.T) {
"a\r\r\nb\r\nc\n",
"\n1",
"",
"\n",
} {
actual := Splitlines(text)
expected := make([]string, 0, len(actual))