Skip to content

Commit c175348

Browse files
authored
testing: expose testing.TB in DBTest instead of full *testing.T (#1500)
Reduce the methods exposed by DBTest to the subset of testing.T exposed in the testing.TB interface.
1 parent 62c29ce commit c175348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func init() {
9292
}
9393

9494
type DBTest struct {
95-
*testing.T
95+
testing.TB
9696
db *sql.DB
9797
}
9898

0 commit comments

Comments
 (0)