leak: fix test print

Change-Id: I936cf556bf2e26d4862d6427f790aa4f5fca32f1
This commit is contained in:
Brad Fitzpatrick 2014-02-23 09:40:44 -08:00
parent 830864b715
commit 2237aee0f3
1 changed files with 1 additions and 1 deletions

View File

@ -43,6 +43,6 @@ func testLeak(t *testing.T, close bool, want int) {
runtime.GC() runtime.GC()
leaks := nTestLeaks - leak0 leaks := nTestLeaks - leak0
if leaks != want { if leaks != want {
t.Errorf("got %d leaks; want %d", want) t.Errorf("got %d leaks; want %d", leaks, want)
} }
} }