diff --git a/driver_test.go b/driver_test.go index 607c753..8f02e68 100644 --- a/driver_test.go +++ b/driver_test.go @@ -3,7 +3,6 @@ package zetasqlite_test import ( "context" "database/sql" - "fmt" "strings" "testing" @@ -206,7 +205,7 @@ CREATE TABLE IF NOT EXISTS Singers ( _, err = stmt.Exec(int64(1), "Miss", "Kitten") if !strings.HasSuffix(err.Error(), "UNIQUE constraint failed: Singers.SingerId") { - t.Fatal(fmt.Sprintf("expected failed unique constraint err, got: %s", err)) + t.Fatalf("expected failed unique constraint err, got: %s", err) } }) }