Commit eb1ee648 authored by gwenn's avatar gwenn

Rollback for SQLite 3.16.2

parent ac9891a7
......@@ -130,10 +130,8 @@ func TestExists(t *testing.T) {
//println(err.Error())
_, err = db.Exists("PRAGMA shrink_memory")
if VersionNumber() < 3016000 {
assert.T(t, err != nil)
//println(err.Error())
}
assert.T(t, err != nil)
//println(err.Error())
}
func TestInsert(t *testing.T) {
......
......@@ -481,12 +481,8 @@ func TestInsertMisuse(t *testing.T) {
checkNoError(t, err, "prepare error: %s")
defer checkFinalize(ois, t)
rowID, err := ois.Insert()
if VersionNumber() < 3016000 {
checkNoError(t, err, "insert error: %s")
assert.Equal(t, int64(-1), rowID)
} else {
assert.T(t, err != nil, "wrapper specific error expected")
}
checkNoError(t, err, "insert error: %s")
assert.Equal(t, int64(-1), rowID)
}
func TestScanValues(t *testing.T) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment