Skip to content

Commit

Permalink
testing: expose testing.TB in DBTest instead of full *testing.T (#1500)
Browse files Browse the repository at this point in the history
Reduce the methods exposed by DBTest to the subset of testing.T exposed
in the testing.TB interface.
  • Loading branch information
dolmen committed Oct 24, 2023
1 parent 62c29ce commit c175348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func init() {
}

type DBTest struct {
*testing.T
testing.TB
db *sql.DB
}

Expand Down

0 comments on commit c175348

Please sign in to comment.