(t *testing.T)
| 759 | } |
| 760 | |
| 761 | func TestEventuallyWithTFalse(t *testing.T) { |
| 762 | t.Parallel() |
| 763 | |
| 764 | mockT := new(MockT) |
| 765 | |
| 766 | condition := func(collect *assert.CollectT) { |
| 767 | True(collect, false) |
| 768 | } |
| 769 | |
| 770 | EventuallyWithT(mockT, condition, 100*time.Millisecond, 20*time.Millisecond) |
| 771 | True(t, mockT.Failed, "Check should fail") |
| 772 | } |
| 773 | |
| 774 | func TestEventuallyWithTTrue(t *testing.T) { |
| 775 | t.Parallel() |
nothing calls this directly
no test coverage detected