Function
TestFailNowWithPlainTestingT
assert/assertions_test.go:3064–3072
· assert/assertions_test.go::TestFailNowWithPlainTestingT
(t *testing.T)
Source from the content-addressed store, hash-verified
| 3062 | } |
| 3063 | |
| 3064 | func TestFailNowWithPlainTestingT(t *testing.T) { |
| 3065 | t.Parallel() |
| 3066 | |
| 3067 | mockT := &mockTestingT{} |
| 3068 | |
| 3069 | Panics(t, func() { |
| 3070 | FailNow(mockT, "failed") |
| 3071 | }, "should panic since mockT is missing FailNow()") |
| 3072 | } |
| 3073 | |
| 3074 | type mockFailNowTestingT struct{} |
| 3075 | |
Callers
nothing calls this directly
Tested by
no test coverage detected