mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-07-06 05:57:54 -05:00
gtr, parser/gotest: Move output formatting out of parser
This commit is contained in:
@ -126,8 +126,6 @@ func (p *parser) benchmark(name, iterations, nsPerOp, mbPerSec, bytesPerOp, allo
|
||||
}
|
||||
|
||||
func (p *parser) output(line string) {
|
||||
line = strings.TrimPrefix(line, " ")
|
||||
line = strings.TrimPrefix(line, "\t")
|
||||
p.add(gtr.Event{Type: "output", Data: line})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user