Function
TestFailNowWithFullTestingT
assert/assertions_test.go:3083–3091
· assert/assertions_test.go::TestFailNowWithFullTestingT
(t *testing.T)
Source from the content-addressed store, hash-verified
| 3081 | func (m *mockFailNowTestingT) FailNow() {} |
| 3082 | |
| 3083 | func TestFailNowWithFullTestingT(t *testing.T) { |
| 3084 | t.Parallel() |
| 3085 | |
| 3086 | mockT := &mockFailNowTestingT{} |
| 3087 | |
| 3088 | NotPanics(t, func() { |
| 3089 | FailNow(mockT, "failed") |
| 3090 | }, "should call mockT.FailNow() rather than panicking") |
| 3091 | } |
| 3092 | |
| 3093 | func TestBytesEqual(t *testing.T) { |
| 3094 | t.Parallel() |
Callers
nothing calls this directly
Tested by
no test coverage detected