forked from mirror/go-sqlcipher
Use t.Skip for TestUpsert to be compliant with the actual cade base.
This commit is contained in:
parent
2439c84c29
commit
d31a44a0bd
|
@ -234,10 +234,7 @@ func TestInsert(t *testing.T) {
|
|||
func TestUpsert(t *testing.T) {
|
||||
_, n, _ := Version()
|
||||
if !(n >= 3024000) {
|
||||
t.Log("Your version of sqlite3 doesn't support UPSERT feature.")
|
||||
t.Log("Version >= '3.24.0' needed.")
|
||||
t.Log("Skipping test...")
|
||||
return
|
||||
t.Skip("UPSERT requires sqlite3 => 3.24.0")
|
||||
}
|
||||
tempFilename := TempFilename(t)
|
||||
defer os.Remove(tempFilename)
|
||||
|
|
Loading…
Reference in New Issue