Skip to content

Commit

Permalink
Add error check
Browse files Browse the repository at this point in the history
  • Loading branch information
marcboeker committed Dec 10, 2023
1 parent a51a20b commit cd35c4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion duckdb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,8 @@ func TestTypeNamesAndScanTypes(t *testing.T) {

var val any
require.True(t, rows.Next())
rows.Scan(&val)
err = rows.Scan(&val)
require.NoError(t, err)
require.Equal(t, test.value, val)
})
}
Expand Down

0 comments on commit cd35c4f

Please sign in to comment.