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

Function TestFalse

internal/testify/assert/assertions_test.go:791–802  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

789}
790
791func TestFalse(t *testing.T) {
792
793 mockT := new(testing.T)
794
795 if !False(mockT, false) {
796 t.Error("False should return true")
797 }
798 if False(mockT, true) {
799 t.Error("False should return false")
800 }
801
802}
803
804func TestExactly(t *testing.T) {
805

Callers

nothing calls this directly

Calls 2

FalseFunction · 0.70
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…