feat: ignore [no test files]
parent
5265f03f87
commit
9cca082265
4
main.go
4
main.go
|
@ -64,6 +64,10 @@ func colorOutputReader(reader io.Reader) {
|
||||||
line := scanner.Text()
|
line := scanner.Text()
|
||||||
line = strings.TrimSpace(line)
|
line = strings.TrimSpace(line)
|
||||||
|
|
||||||
|
if strings.HasSuffix(line, "[no test files]") {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
if strings.HasPrefix(line, "--- PASS") ||
|
if strings.HasPrefix(line, "--- PASS") ||
|
||||||
strings.HasPrefix(line, "PASS") ||
|
strings.HasPrefix(line, "PASS") ||
|
||||||
strings.HasPrefix(line, "ok") {
|
strings.HasPrefix(line, "ok") {
|
||||||
|
|
Loading…
Reference in New Issue