MCPcopy
hub / github.com/stretchr/testify / TestFalseWrapper

Function TestFalseWrapper

assert/forward_assertions_test.go:111–123  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

109}
110
111func TestFalseWrapper(t *testing.T) {
112 t.Parallel()
113
114 assert := New(new(testing.T))
115
116 if !assert.False(false) {
117 t.Error("False should return true")
118 }
119 if assert.False(true) {
120 t.Error("False should return false")
121 }
122
123}
124
125func TestExactlyWrapper(t *testing.T) {
126 t.Parallel()

Callers

nothing calls this directly

Calls 3

NewFunction · 0.70
FalseMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected