(n int, noun string)
| 269 | } |
| 270 | |
| 271 | func plural(n int, noun string) string { |
| 272 | if n == 1 { |
| 273 | return "1 " + noun |
| 274 | } |
| 275 | return fmt.Sprintf("%d %ss", n, noun) |
| 276 | } |
| 277 | |
| 278 | // missingNames lists, once each and in order, requests that had no response. |
| 279 | func missingNames(requests []loggedRequest) []string { |
no outgoing calls
no test coverage detected