(t *testing.T)
| 2784 | func (t *errorsCapturingT) Helper() {} |
| 2785 | |
| 2786 | func TestEventuallyWithTFalse(t *testing.T) { |
| 2787 | mockT := new(errorsCapturingT) |
| 2788 | |
| 2789 | condition := func(collect *CollectT) { |
| 2790 | Fail(collect, "condition fixed failure") |
| 2791 | } |
| 2792 | |
| 2793 | False(t, EventuallyWithT(mockT, condition, 100*time.Millisecond, 20*time.Millisecond)) |
| 2794 | Len(t, mockT.errors, 2) |
| 2795 | } |
| 2796 | |
| 2797 | func TestEventuallyWithTTrue(t *testing.T) { |
| 2798 | mockT := new(errorsCapturingT) |
nothing calls this directly
no test coverage detected
searching dependent graphs…