From d31a44a0bd3b04338b506515c1cab0fe0e6e73bf Mon Sep 17 00:00:00 2001 From: Yoann Cerda Date: Tue, 12 Jun 2018 17:05:28 +0800 Subject: [PATCH] Use t.Skip for TestUpsert to be compliant with the actual cade base. --- sqlite3_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sqlite3_test.go b/sqlite3_test.go index 9e675e2..75d8f52 100644 --- a/sqlite3_test.go +++ b/sqlite3_test.go @@ -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)