github.com/ncruces/go-sqlite3@v0.15.1-0.20240520133447-53eef1510ff0/tests/compile/missing/compile_test.go (about) 1 package compile 2 3 import ( 4 "testing" 5 6 "github.com/ncruces/go-sqlite3" 7 ) 8 9 func TestCompile_missing(t *testing.T) { 10 sqlite3.Path = "sqlite3.wasm" 11 _, err := sqlite3.Open(":memory:") 12 if err == nil { 13 t.Error("want error") 14 } 15 }