diff options
Diffstat (limited to 'src/testing/run_example_js.go')
| -rw-r--r-- | src/testing/run_example_js.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testing/run_example_js.go b/src/testing/run_example_js.go index f3a11201a1..572c6b3e2e 100644 --- a/src/testing/run_example_js.go +++ b/src/testing/run_example_js.go @@ -17,8 +17,8 @@ import ( // TODO(@musiol, @odeke-em): unify this code back into // example.go when js/wasm gets an os.Pipe implementation. func runExample(eg InternalExample) (ok bool) { - if *chatty { - fmt.Printf("=== RUN %s\n", eg.Name) + if chatty.on { + fmt.Printf("%s=== RUN %s\n", chatty.prefix(), eg.Name) } // Capture stdout to temporary file. We're not using |
