Skip to content

Commit e87cbe4

Browse files
committed
vet: correct printf verb for type bool
1 parent b22024b commit e87cbe4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@ func TestScanNullTime(t *testing.T) {
112112
for _, tst := range scanTests {
113113
err = nt.Scan(tst.in)
114114
if (err != nil) != tst.error {
115-
t.Errorf("%v: expected error status %b, got %b", tst.in, tst.error, (err != nil))
115+
t.Errorf("%v: expected error status %t, got %t", tst.in, tst.error, (err != nil))
116116
}
117117
if nt.Valid != tst.valid {
118-
t.Errorf("%v: expected valid status %b, got %b", tst.in, tst.valid, nt.Valid)
118+
t.Errorf("%v: expected valid status %t, got %t", tst.in, tst.valid, nt.Valid)
119119
}
120120
if nt.Time != tst.time {
121121
t.Errorf("%v: expected time %v, got %v", tst.in, tst.time, nt.Time)

0 commit comments

Comments
 (0)