diff options
Diffstat (limited to 'src/testing')
| -rw-r--r-- | src/testing/sub_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/sub_test.go b/src/testing/sub_test.go index 6a5add6f4e..6324d463cf 100644 --- a/src/testing/sub_test.go +++ b/src/testing/sub_test.go @@ -724,7 +724,7 @@ func TestBenchmarkReadMemStatsBeforeFirstRun(t *T) { var first = true Benchmark(func(b *B) { if first && (b.startAllocs == 0 || b.startBytes == 0) { - panic(fmt.Sprintf("ReadMemStats not called before first run")) + panic("ReadMemStats not called before first run") } first = false }) |
