mirror of https://github.com/mattn/go-sqlite3.git
Clean up test
This commit is contained in:
parent
568d682daa
commit
d61fdcd55b
|
@ -1999,8 +1999,10 @@ func testNullZeroLengthBlobs(t *testing.T) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
if b1 == nil || len(b1) > 0 {
|
if b1 == nil {
|
||||||
t.Errorf("for id=1, got nil; want zero-length slice")
|
t.Error("for id=1, got nil; want zero-length slice")
|
||||||
|
} else if len(b1) > 0 {
|
||||||
|
t.Errorf("for id=1, got %x; want zero-length slice", b1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue