(t *testing.T)
| 3409 | } |
| 3410 | |
| 3411 | func TestEventuallyWithTFalse(t *testing.T) { |
| 3412 | t.Parallel() |
| 3413 | |
| 3414 | mockT := new(errorsCapturingT) |
| 3415 | |
| 3416 | condition := func(collect *CollectT) { |
| 3417 | Fail(collect, "condition fixed failure") |
| 3418 | } |
| 3419 | |
| 3420 | False(t, EventuallyWithT(mockT, condition, 100*time.Millisecond, 20*time.Millisecond)) |
| 3421 | Len(t, mockT.errors, 2) |
| 3422 | } |
| 3423 | |
| 3424 | func TestEventuallyWithTTrue(t *testing.T) { |
| 3425 | t.Parallel() |
nothing calls this directly
no test coverage detected