diff options
Diffstat (limited to 'src/testing/run_example.go')
| -rw-r--r-- | src/testing/run_example.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testing/run_example.go b/src/testing/run_example.go index e7eab1e50e..776fbffc7e 100644 --- a/src/testing/run_example.go +++ b/src/testing/run_example.go @@ -19,8 +19,8 @@ import ( ) 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. |
