Skip to content

Commit

Permalink
Use t.Skip for TestUpsert to be compliant with the actual cade base.
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxlinuxien authored and gjrtimmer committed Jun 12, 2018
1 parent 2439c84 commit d31a44a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions sqlite3_test.go
Expand Up @@ -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)
Expand Down

0 comments on commit d31a44a

Please sign in to comment.