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

Function TestTrue

internal/testify/require/requirements_test.go:119–128  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

117}
118
119func TestTrue(t *testing.T) {
120
121 True(t, true)
122
123 mockT := new(MockT)
124 True(mockT, false)
125 if !mockT.Failed {
126 t.Error("Check should fail")
127 }
128}
129
130func TestFalse(t *testing.T) {
131

Callers

nothing calls this directly

Calls 2

TrueFunction · 0.70
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…