Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ohaibbq committed Apr 10, 2024
1 parent 09cfaac commit e20abff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package zetasqlite_test
import (
"context"
"database/sql"
"fmt"
"strings"
"testing"

Expand Down Expand Up @@ -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)
}
})
}
Expand Down

0 comments on commit e20abff

Please sign in to comment.