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

Function TestTrue

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

Source from the content-addressed store, hash-verified

776}
777
778func TestTrue(t *testing.T) {
779
780 mockT := new(testing.T)
781
782 if !True(mockT, true) {
783 t.Error("True should return true")
784 }
785 if True(mockT, false) {
786 t.Error("True should return false")
787 }
788
789}
790
791func TestFalse(t *testing.T) {
792

Callers

nothing calls this directly

Calls 2

TrueFunction · 0.70
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…