diff --git a/parser.go b/parser.go index 0fb6aac..3d8213e 100644 --- a/parser.go +++ b/parser.go @@ -34,7 +34,7 @@ type Test struct { } var ( - regexStatus = regexp.MustCompile(`^--- (PASS|FAIL|SKIP): (.+) \((\d+\.\d+) seconds\)$`) + regexStatus = regexp.MustCompile(`^--- (PASS|FAIL|SKIP): (.+) \((\d+\.\d+)(?: seconds|s)\)$`) regexResult = regexp.MustCompile(`^(ok|FAIL)\s+(.+)\s(\d+\.\d+)s$`) )