T retrieves the current *testing.T context.
()
| 33 | |
| 34 | // T retrieves the current *testing.T context. |
| 35 | func (suite *Suite) T() *testing.T { |
| 36 | suite.mu.RLock() |
| 37 | defer suite.mu.RUnlock() |
| 38 | return suite.t |
| 39 | } |
| 40 | |
| 41 | // SetT sets the current *testing.T context. |
| 42 | func (suite *Suite) SetT(t *testing.T) { |