MCPcopy
hub / github.com/expr-lang/expr / TestTrueWrapper

Function TestTrueWrapper

internal/testify/assert/forward_assertions_test.go:85–95  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

83}
84
85func TestTrueWrapper(t *testing.T) {
86 assert := New(new(testing.T))
87
88 if !assert.True(true) {
89 t.Error("True should return true")
90 }
91 if assert.True(false) {
92 t.Error("True should return false")
93 }
94
95}
96
97func TestFalseWrapper(t *testing.T) {
98 assert := New(new(testing.T))

Callers

nothing calls this directly

Calls 3

NewFunction · 0.70
TrueMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…