(w events.Subscription, t *testing.T)
| 45 | } |
| 46 | |
| 47 | func expectTimeout(w events.Subscription, t *testing.T) { |
| 48 | _, err := w.Poll(timeout) |
| 49 | if err != events.ErrTimeout { |
| 50 | t.Fatal("Unexpected non-Timeout error:", err, "at", caller(1)) |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | func TestProgressEmitter(t *testing.T) { |
| 55 | ctx, cancel := context.WithCancel(context.Background()) |
no test coverage detected