MCPcopy Create free account
hub / github.com/expr-lang/expr / TestNeverFalse

Function TestNeverFalse

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

Source from the content-addressed store, hash-verified

2845}
2846
2847func TestNeverFalse(t *testing.T) {
2848 condition := func() bool {
2849 return false
2850 }
2851
2852 True(t, Never(t, condition, 100*time.Millisecond, 20*time.Millisecond))
2853}
2854
2855// TestNeverTrue checks Never with a condition that returns true on second call.
2856func TestNeverTrue(t *testing.T) {

Callers

nothing calls this directly

Calls 2

TrueFunction · 0.70
NeverFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…