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

Function TestFalseWrapper

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

Source from the content-addressed store, hash-verified

95}
96
97func TestFalseWrapper(t *testing.T) {
98 assert := New(new(testing.T))
99
100 if !assert.False(false) {
101 t.Error("False should return true")
102 }
103 if assert.False(true) {
104 t.Error("False should return false")
105 }
106
107}
108
109func TestExactlyWrapper(t *testing.T) {
110 assert := New(new(testing.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…