tebeka / go2xunit

Convert "go test" output to xunit compatible (used in Jenkins/Hudson)
MIT License
162 stars 46 forks source link

Use constant string instead of file for lib.TestLineScannerLongLine. #52

Closed jaytaylor closed 7 years ago

jaytaylor commented 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.

jaytaylor commented 7 years ago

Thanks for the quick turnaround @tebeka :D