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

Function TestEventuallyFalse

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

Source from the content-addressed store, hash-verified

2955}
2956
2957func TestEventuallyFalse(t *testing.T) {
2958 mockT := new(testing.T)
2959
2960 condition := func() bool {
2961 return false
2962 }
2963
2964 False(t, Eventually(mockT, condition, 100*time.Millisecond, 20*time.Millisecond))
2965}
2966
2967func TestEventuallyTrue(t *testing.T) {
2968 state := 0

Callers

nothing calls this directly

Calls 2

FalseFunction · 0.70
EventuallyFunction · 0.70

Tested by

no test coverage detected