More type safe.

This commit is contained in:
Nuno Cruces
2025-02-17 12:00:55 +00:00
parent 975feb2fd4
commit 4dd7bd0ff2
8 changed files with 49 additions and 67 deletions

View File

@@ -130,10 +130,6 @@ func Test_sqlite_newBytes(t *testing.T) {
if ptr == 0 {
t.Fatal("got nullptr, want a pointer")
}
if got := util.View(sqlite.mod, ptr, 0); got != nil {
t.Errorf("got %q, want nil", got)
}
}
func Test_sqlite_newString(t *testing.T) {