(t *testing.T)
| 3527 | } |
| 3528 | |
| 3529 | func TestEventuallyWithTSucceedQuickly(t *testing.T) { |
| 3530 | t.Parallel() |
| 3531 | |
| 3532 | mockT := new(testing.T) |
| 3533 | |
| 3534 | condition := func(t *CollectT) {} |
| 3535 | |
| 3536 | // By making the tick longer than the total duration, we expect that this test would fail if |
| 3537 | // we didn't check the condition before the first tick elapses. |
| 3538 | True(t, EventuallyWithT(mockT, condition, 100*time.Millisecond, time.Second)) |
| 3539 | } |
| 3540 | |
| 3541 | func TestNeverFalse(t *testing.T) { |
| 3542 | t.Parallel() |
nothing calls this directly
no test coverage detected