(t *testing.T)
| 2845 | } |
| 2846 | |
| 2847 | func TestNeverFalse(t *testing.T) { |
| 2848 | condition := func() bool { |
| 2849 | return false |
| 2850 | } |
| 2851 | |
| 2852 | True(t, Never(t, condition, 100*time.Millisecond, 20*time.Millisecond)) |
| 2853 | } |
| 2854 | |
| 2855 | // TestNeverTrue checks Never with a condition that returns true on second call. |
| 2856 | func TestNeverTrue(t *testing.T) { |