mirror of
https://github.com/ncruces/go-sqlite3.git
synced 2026-01-12 05:59:14 +00:00
16 lines
247 B
Go
16 lines
247 B
Go
package compile
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/ncruces/go-sqlite3"
|
|
)
|
|
|
|
func TestCompile_empty(t *testing.T) {
|
|
sqlite3.Binary = []byte("\x00asm\x01\x00\x00\x00")
|
|
_, err := sqlite3.Open(":memory:")
|
|
if err == nil {
|
|
t.Error("want error")
|
|
}
|
|
}
|