This commit is contained in:
Nuno Cruces
2025-03-31 16:33:31 +01:00
parent 1f5d8bf7df
commit 9f626b2f52
6 changed files with 52 additions and 50 deletions

View File

@@ -125,11 +125,6 @@ func Test_sqlite_newBytes(t *testing.T) {
if got := util.View(sqlite.mod, ptr, int64(len(want))); !bytes.Equal(got, want) {
t.Errorf("got %q, want %q", got, want)
}
ptr = sqlite.newBytes(buf[:0])
if ptr == 0 {
t.Fatal("got nullptr, want a pointer")
}
}
func Test_sqlite_newString(t *testing.T) {