mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
core: replace fmt.* to t.* or b.* in tests.
fmt.Printf -> t.Logf or b.Logf
This commit is contained in:
parent
576e26ed8e
commit
eabb2d30f3
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue