MCPcopy Index your code
hub / github.com/expr-lang/expr / TestFailNowWithPlainTestingT

Function TestFailNowWithPlainTestingT

internal/testify/assert/assertions_test.go:2462–2468  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

2460}
2461
2462func TestFailNowWithPlainTestingT(t *testing.T) {
2463 mockT := &mockTestingT{}
2464
2465 Panics(t, func() {
2466 FailNow(mockT, "failed")
2467 }, "should panic since mockT is missing FailNow()")
2468}
2469
2470type mockFailNowTestingT struct {
2471}

Callers

nothing calls this directly

Calls 2

PanicsFunction · 0.70
FailNowFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…