QueryContext and ExecContext function parameters reorder.

This commit is contained in:
go-jet 2019-07-19 10:40:30 +02:00
parent b927769d5a
commit 733614d245
8 changed files with 14 additions and 14 deletions

View file

@ -273,7 +273,7 @@ func TestExecWithContext(t *testing.T) {
CROSS_JOIN(Track).
CROSS_JOIN(InvoiceLine).
SELECT(Album.AllColumns, Track.AllColumns, InvoiceLine.AllColumns).
ExecContext(db, ctx)
ExecContext(ctx, db)
assert.Error(t, err, "pq: canceling statement due to user request")
}