(t *testing.T, label string, got, want map[string][]string)
| 1177 | } |
| 1178 | |
| 1179 | func assertStringSliceMapEqual(t *testing.T, label string, got, want map[string][]string) { |
| 1180 | t.Helper() |
| 1181 | |
| 1182 | got = normalizeStringSliceMap(got) |
| 1183 | want = normalizeStringSliceMap(want) |
| 1184 | if reflect.DeepEqual(got, want) { |
| 1185 | return |
| 1186 | } |
| 1187 | |
| 1188 | gotJSON, _ := json.MarshalIndent(got, "", " ") |
| 1189 | wantJSON, _ := json.MarshalIndent(want, "", " ") |
| 1190 | t.Fatalf("%s = %s, want %s", label, gotJSON, wantJSON) |
| 1191 | } |
| 1192 | |
| 1193 | func assertStringSliceEqual(t *testing.T, label string, got, want []string) { |
| 1194 | t.Helper() |
no test coverage detected