Files
sqlite3/tests/compile/nil/compile_test.go

15 lines
193 B
Go
Raw Permalink Normal View History

2023-02-22 14:19:56 +00:00
package compile
2023-02-20 13:38:03 +00:00
import (
"testing"
"github.com/ncruces/go-sqlite3"
)
2023-02-22 14:19:56 +00:00
func TestCompile_nil(t *testing.T) {
2023-02-20 13:38:03 +00:00
_, err := sqlite3.Open(":memory:")
if err == nil {
t.Error("want error")
}
}