Skip to content

Commit 44cfaba

Browse files
committed
testing: expose testing.TB in DBTest instead of full *testing.T
Reduce the methods exposed by DBTest to the subset of testing.T exposed in the testing.TB interface.
1 parent 278a0b9 commit 44cfaba

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
@@ -82,7 +82,7 @@ func init() {
8282
}
8383

8484
type DBTest struct {
85-
*testing.T
85+
testing.TB
8686
db *sql.DB
8787
}
8888

0 commit comments

Comments
 (0)