diff options
author | 大彬 <hz_stb@163.com> | 2019-07-17 19:20:24 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2019-07-17 19:20:24 +0800 |
commit | 4ac04ae0feba560e93f0fad55772b8830b759d1b (patch) | |
tree | e3c966a6f538f7e7d4e4a9af9c35aad5386bd546 /core/rawdb | |
parent | 8f80cafa108cf0a762e0e34a6a4cd04021139bd1 (diff) | |
download | go-tangerine-4ac04ae0feba560e93f0fad55772b8830b759d1b.tar go-tangerine-4ac04ae0feba560e93f0fad55772b8830b759d1b.tar.gz go-tangerine-4ac04ae0feba560e93f0fad55772b8830b759d1b.tar.bz2 go-tangerine-4ac04ae0feba560e93f0fad55772b8830b759d1b.tar.lz go-tangerine-4ac04ae0feba560e93f0fad55772b8830b759d1b.tar.xz go-tangerine-4ac04ae0feba560e93f0fad55772b8830b759d1b.tar.zst go-tangerine-4ac04ae0feba560e93f0fad55772b8830b759d1b.zip |
all: replace fmt.Print* calls with t.Log* in tests (#19670)
Diffstat (limited to 'core/rawdb')
-rw-r--r-- | core/rawdb/freezer_table_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/rawdb/freezer_table_test.go b/core/rawdb/freezer_table_test.go index 116e26a7f..253c00f5a 100644 --- a/core/rawdb/freezer_table_test.go +++ b/core/rawdb/freezer_table_test.go @@ -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, |