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

Function TestFalse

require/requirements_test.go:143–153  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

141}
142
143func TestFalse(t *testing.T) {
144 t.Parallel()
145
146 False(t, false)
147
148 mockT := new(MockT)
149 False(mockT, true)
150 if !mockT.Failed {
151 t.Error("Check should fail")
152 }
153}
154
155func TestContains(t *testing.T) {
156 t.Parallel()

Callers

nothing calls this directly

Calls 2

FalseFunction · 0.70
ErrorMethod · 0.45

Tested by

no test coverage detected