(t *testing.T, label string, got, want []string)
| 1191 | } |
| 1192 | |
| 1193 | func assertStringSliceEqual(t *testing.T, label string, got, want []string) { |
| 1194 | t.Helper() |
| 1195 | |
| 1196 | got = sortedCopy(got) |
| 1197 | want = sortedCopy(want) |
| 1198 | if reflect.DeepEqual(got, want) { |
| 1199 | return |
| 1200 | } |
| 1201 | t.Fatalf("%s = %v, want %v", label, got, want) |
| 1202 | } |
| 1203 | |
| 1204 | func assertGoldenCommandSchemaEqual(t *testing.T, command string, got, want jsonGoldenCommandSchema) { |
| 1205 | t.Helper() |
no test coverage detected