diff options
Diffstat (limited to 'test/mallocrep.go')
| -rw-r--r-- | test/mallocrep.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/mallocrep.go b/test/mallocrep.go index e7f3f06f4e..2357d83753 100644 --- a/test/mallocrep.go +++ b/test/mallocrep.go @@ -47,7 +47,8 @@ func main() { during := runtime.MemStats.Alloc runtime.Free(b) if a := runtime.MemStats.Alloc; a != 0 { - panic("allocated ", j, ": wrong stats: during=", during, " after=", a, " (want 0)") + println("allocated ", j, ": wrong stats: during=", during, " after=", a, " (want 0)") + panic("fail") } bigger() } |
