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) { ...@@ -130,10 +130,8 @@ func TestExists(t *testing.T) {
//println(err.Error()) //println(err.Error())
_, err = db.Exists("PRAGMA shrink_memory") _, err = db.Exists("PRAGMA shrink_memory")
if VersionNumber() < 3016000 { assert.T(t, err != nil)
assert.T(t, err != nil) //println(err.Error())
//println(err.Error())
}
} }
func TestInsert(t *testing.T) { func TestInsert(t *testing.T) {
......
...@@ -481,12 +481,8 @@ func TestInsertMisuse(t *testing.T) { ...@@ -481,12 +481,8 @@ func TestInsertMisuse(t *testing.T) {
checkNoError(t, err, "prepare error: %s") checkNoError(t, err, "prepare error: %s")
defer checkFinalize(ois, t) defer checkFinalize(ois, t)
rowID, err := ois.Insert() rowID, err := ois.Insert()
if VersionNumber() < 3016000 { checkNoError(t, err, "insert error: %s")
checkNoError(t, err, "insert error: %s") assert.Equal(t, int64(-1), rowID)
assert.Equal(t, int64(-1), rowID)
} else {
assert.T(t, err != nil, "wrapper specific error expected")
}
} }
func TestScanValues(t *testing.T) { 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