-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use stricter regular expression to correctly identify potential file references in test output. When `go test` outputs a test failure file location, the file is preceded with at least one tab. If there is leading space on the line, then it's a subtest that failed. Use that to more accurately disregard lines that will not refer to files. * Preserve multi-line test failure output by similarly checking for at least one tab ahead of the output. * Preserve output that seemingly *should* refer to a file, but for whatever does not, but don't make it a file reference for the purposes of quickfix and location lists. * Preserve all lines of stack traces. * Correctly recognize file locations in stack traces.
- Loading branch information
Showing
1 changed file
with
52 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters