MCPcopy Create free account
hub / github.com/stretchr/testify / TestFalse

Function TestFalse

assert/assertions_test.go:861–872  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

859}
860
861func TestFalse(t *testing.T) {
862
863 mockT := new(testing.T)
864
865 if !False(mockT, false) {
866 t.Error("False should return true")
867 }
868 if False(mockT, true) {
869 t.Error("False should return false")
870 }
871
872}
873
874func TestExactly(t *testing.T) {
875

Callers

nothing calls this directly

Calls 2

FalseFunction · 0.70
ErrorMethod · 0.45

Tested by

no test coverage detected