fixed govet golint typos

This commit is contained in:
Josh Baker 2016-07-24 10:20:55 -07:00
parent 270260e081
commit 624feadea5
1 changed files with 6 additions and 6 deletions

View File

@ -1064,7 +1064,7 @@ func benchOpenFillData(t *testing.B, N int,
t.Fatal(err)
}
if n != uint64(N) {
t.Fatal("expecting '%v', got '%v'", N, n)
t.Fatalf("expecting '%v', got '%v'", N, n)
}
t.StartTimer()
return db, keys, vals
@ -1165,12 +1165,12 @@ func benchScan(t *testing.B, asc bool, count int) {
count++
return true
})
} else {
return tx.Descend("", func(key, val string) bool {
count++
return true
})
}
return tx.Descend("", func(key, val string) bool {
count++
return true
})
})
if err != nil {
t.Fatal(err)