Skip to content

Commit f6dcc3d

Browse files
authored
Fix go vet error (#1173)
1 parent aae55f7 commit f6dcc3d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

benchmark_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ func BenchmarkExec(b *testing.B) {
127127
}
128128

129129
if _, err := stmt.Exec(); err != nil {
130-
b.Fatal(err.Error())
130+
b.Logf("stmt.Exec failed: %v", err)
131+
b.Fail()
131132
}
132133
}
133134
}()

0 commit comments

Comments
 (0)