linting: next round of fixes

This commit is contained in:
Zach Ramsay
2017-09-22 12:14:27 -04:00
parent d6e03d2368
commit 3c57c24921
7 changed files with 9 additions and 14 deletions

View File

@ -50,7 +50,7 @@ func BenchmarkRandomReadsWrites2(b *testing.B) {
//fmt.Printf("Get %X -> %X\n", idxBytes, valBytes)
if val == 0 {
if !bytes.Equal(valBytes, nil) {
b.Errorf("Expected %X for %v, got %X",
b.Errorf("Expected %v for %v, got %X",
nil, idx, valBytes)
break
}