Skip to content

Commit

Permalink
Update exec_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Stephen Afam-Osemene <me@stephenafamo.com>
  • Loading branch information
popescu-af and stephenafamo committed Jul 18, 2023
1 parent d4965de commit dbc972b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ func testQuery[T any](t *testing.T, name string, tc queryCase[T]) {
t.Helper()

t.Run(name, func(t *testing.T) {
ctx := context.Background()
if tc.ctx != nil {
ctx = tc.ctx
ctx := tc.ctx
if ctx == nil {
ctx = context.Background()
}

ex, clean := createDB(t, tc.columns)
Expand Down

0 comments on commit dbc972b

Please sign in to comment.