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

Function TestFailNowWithFullTestingT

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

Source from the content-addressed store, hash-verified

2475func (m *mockFailNowTestingT) FailNow() {}
2476
2477func TestFailNowWithFullTestingT(t *testing.T) {
2478 mockT := &mockFailNowTestingT{}
2479
2480 NotPanics(t, func() {
2481 FailNow(mockT, "failed")
2482 }, "should call mockT.FailNow() rather than panicking")
2483}
2484
2485func TestBytesEqual(t *testing.T) {
2486 var cases = []struct {

Callers

nothing calls this directly

Calls 2

NotPanicsFunction · 0.70
FailNowFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…