Files
sqlite3/tests/compile/missing/compile_test.go
2023-02-22 14:19:56 +00:00

16 lines
228 B
Go

package compile
import (
"testing"
"github.com/ncruces/go-sqlite3"
)
func TestCompile_missing(t *testing.T) {
sqlite3.Path = "sqlite3.wasm"
_, err := sqlite3.Open(":memory:")
if err == nil {
t.Error("want error")
}
}