(t *testing.T)
| 2664 | } |
| 2665 | |
| 2666 | func TestFailNowWithPlainTestingT(t *testing.T) { |
| 2667 | mockT := &mockTestingT{} |
| 2668 | |
| 2669 | Panics(t, func() { |
| 2670 | FailNow(mockT, "failed") |
| 2671 | }, "should panic since mockT is missing FailNow()") |
| 2672 | } |
| 2673 | |
| 2674 | type mockFailNowTestingT struct { |
| 2675 | } |