Skip to content

Commit d31a44a

Browse files
tuxlinuxiengjrtimmer
authored andcommitted
Use t.Skip for TestUpsert to be compliant with the actual cade base.
1 parent 2439c84 commit d31a44a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

sqlite3_test.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,7 @@ func TestInsert(t *testing.T) {
234234
func TestUpsert(t *testing.T) {
235235
_, n, _ := Version()
236236
if !(n >= 3024000) {
237-
t.Log("Your version of sqlite3 doesn't support UPSERT feature.")
238-
t.Log("Version >= '3.24.0' needed.")
239-
t.Log("Skipping test...")
240-
return
237+
t.Skip("UPSERT requires sqlite3 => 3.24.0")
241238
}
242239
tempFilename := TempFilename(t)
243240
defer os.Remove(tempFilename)

0 commit comments

Comments
 (0)