This commit is contained in:
mattn 2015-03-22 02:39:28 +09:00
parent a6c208564e
commit d7dbb909ec
1 changed files with 1 additions and 1 deletions

View File

@ -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)
} }