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

Function TestFalseWrapper

internal/testify/require/forward_requirements_test.go:111–121  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

109}
110
111func TestFalseWrapper(t *testing.T) {
112 require := New(t)
113 require.False(false)
114
115 mockT := new(MockT)
116 mockRequire := New(mockT)
117 mockRequire.False(true)
118 if !mockT.Failed {
119 t.Error("Check should fail")
120 }
121}
122
123func TestContainsWrapper(t *testing.T) {
124 require := New(t)

Callers

nothing calls this directly

Calls 3

NewFunction · 0.70
FalseMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…