mirror of https://github.com/perkeep/perkeep.git
leak: fix test print
Change-Id: I936cf556bf2e26d4862d6427f790aa4f5fca32f1
This commit is contained in:
parent
830864b715
commit
2237aee0f3
|
@ -43,6 +43,6 @@ func testLeak(t *testing.T, close bool, want int) {
|
|||
runtime.GC()
|
||||
leaks := nTestLeaks - leak0
|
||||
if leaks != want {
|
||||
t.Errorf("got %d leaks; want %d", want)
|
||||
t.Errorf("got %d leaks; want %d", leaks, want)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue