Skip to content

Commit

Permalink
feat: ignore [no test files]
Browse files Browse the repository at this point in the history
  • Loading branch information
haunt98 committed Oct 11, 2023
1 parent 5265f03 commit 9cca082
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ func colorOutputReader(reader io.Reader) {
line := scanner.Text()
line = strings.TrimSpace(line)

if strings.HasSuffix(line, "[no test files]") {
continue
}

if strings.HasPrefix(line, "--- PASS") ||
strings.HasPrefix(line, "PASS") ||
strings.HasPrefix(line, "ok") {
Expand Down

0 comments on commit 9cca082

Please sign in to comment.