core: replace fmt.* to t.* or b.* in tests.

fmt.Printf -> t.Logf or b.Logf
This commit is contained in:
Shitaibin 2019-06-05 12:43:04 +08:00
parent 576e26ed8e
commit eabb2d30f3

View file

@ -46,7 +46,7 @@ func print(t *testing.T, f *freezerTable, item uint64) {
if err != nil {
t.Fatal(err)
}
fmt.Printf("db[%d] = %x\n", item, a)
t.Logf("db[%d] = %x\n", item, a)
}
// TestFreezerBasics test initializing a freezertable from scratch, writing to the table,