Skip to content

Commit 9f95a69

Browse files
committed
Display known fail full detail if either -v or show_known_fails flags are on.
Previously, both had to be on. Also tweak the reproduce command printed to include -show_known_fails flag, since it's needed.
1 parent 68f13c3 commit 9f95a69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/run.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,8 @@ func main() {
271271
continue
272272
}
273273
// GOPHERJS.
274-
if status == "knfl" && *verbose && *showKnownFails {
275-
fmt.Printf("# go run run.go -- %s\n%s\nknfl\t%s\t%s\n",
274+
if status == "knfl" && (*verbose || *showKnownFails) {
275+
fmt.Printf("# go run run.go -show_known_fails -- %s\n%s\nknfl\t%s\t%s\n",
276276
path.Join(test.dir, test.gofile),
277277
errStr, test.goFileName(), dt)
278278
continue

0 commit comments

Comments
 (0)