--- Tool setup failure handling tests ---
(ch chan Event)
| 847 | // --- Tool setup failure handling tests --- |
| 848 | |
| 849 | func collectEvents(ch chan Event) []Event { |
| 850 | n := len(ch) |
| 851 | evs := make([]Event, 0, n) |
| 852 | for range n { |
| 853 | evs = append(evs, <-ch) |
| 854 | } |
| 855 | return evs |
| 856 | } |
| 857 | |
| 858 | func hasWarningEvent(evs []Event) bool { |
| 859 | for _, e := range evs { |
no outgoing calls
no test coverage detected