(m map[State][]Service, states ...State)
| 260 | } |
| 261 | |
| 262 | func mergeStates(m map[State][]Service, states ...State) []Service { |
| 263 | result := []Service(nil) |
| 264 | for _, s := range states { |
| 265 | result = append(result, m[s]...) |
| 266 | } |
| 267 | return result |
| 268 | } |
| 269 | |
| 270 | func equalStatesMap(t *testing.T, m1, m2 map[State][]Service) { |
| 271 | t.Helper() |
no outgoing calls
no test coverage detected