Skip to content

Commit

Permalink
Merge pull request #48 from ikawaha/feat/testing-t
Browse files Browse the repository at this point in the history
improve: Add a function that returns the TestingT held internally by Tester
  • Loading branch information
ikawaha authored Feb 2, 2024
2 parents d6cbf44 + c993c08 commit 7c712ac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tester.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ type Tester struct {
*Checker
}

// T returns the TestingT.
func (tt *Tester) T() TestingT {
return tt.t
}

// Check - Will make request to built request object.
// After request is made, it will save response object for future assertions
// Responsibility of this method is also to start and stop HTTP server
Expand Down

0 comments on commit 7c712ac

Please sign in to comment.