Closed jaytaylor closed 7 years ago
Use constant string instead of file for lib.TestLineScannerLongLine.
Verified that this still tests and fixes the original issue of:
bufio.Scanner: token too long
When extremely long single-line inputs are fed in to the line scanner.
Note: This PR is a followup from #51, and obviates the need for the test.log file.
test.log
Thanks for the quick turnaround @tebeka :D
Use constant string instead of file for lib.TestLineScannerLongLine.
Verified that this still tests and fixes the original issue of:
When extremely long single-line inputs are fed in to the line scanner.
Note: This PR is a followup from #51, and obviates the need for the
test.log
file.