Skip to content

Commit 410ea2b

Browse files
committed
fmt fix
1 parent ef1c10b commit 410ea2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

driver_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -793,15 +793,15 @@ func TestStrict(t *testing.T) {
793793
for i := range queries {
794794
stmt, err = dbt.db.Prepare(queries[i].in)
795795
if err != nil {
796-
dbt.Error("Error on preparing query %: ", queries[i].in, err.Error())
796+
dbt.Errorf("Error on preparing query %s: %s", queries[i].in, err.Error())
797797
}
798798

799799
_, err = stmt.Exec()
800800
checkWarnings(err, "binary", i)
801801

802802
err = stmt.Close()
803803
if err != nil {
804-
dbt.Error("Error on closing stmt for query %: ", queries[i].in, err.Error())
804+
dbt.Errorf("Error on closing stmt for query %s: %s", queries[i].in, err.Error())
805805
}
806806
}
807807
})

0 commit comments

Comments
 (0)