- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestScanLineEmptyFinalLineWithCR (0.14 sec)
-
src/bufio/scan_test.go
"abcdefghijklmn", "opqrstuvwxyz", "", } testNoNewline(text, lines, t) } // Test that the line splitter handles a final empty line with a carriage return but no newline. func TestScanLineEmptyFinalLineWithCR(t *testing.T) { const text = "abcdefghijklmn\nopqrstuvwxyz\n\r" lines := []string{ "abcdefghijklmn", "opqrstuvwxyz", "", } testNoNewline(text, lines, t) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0)