Fix test
This commit is contained in:
@@ -926,7 +926,7 @@ func TestNumberNamedParams(t *testing.T) {
|
|||||||
t.Error("Failed to call db.Query:", err)
|
t.Error("Failed to call db.Query:", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
_, err = db.Exec(`insert into foo(id, name, extra)) values($1, $2, $2)`, 1, "foo")
|
_, err = db.Exec(`insert into foo(id, name, extra) values($1, $2, $2)`, 1, "foo")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Error("Failed to call db.Exec:", err)
|
t.Error("Failed to call db.Exec:", err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user