MCPcopy Create free account
hub / github.com/dropbox/dbxcli / assertStringSliceEqual

Function assertStringSliceEqual

cmd/json_contract_test.go:1193–1202  ·  view source on GitHub ↗
(t *testing.T, label string, got, want []string)

Source from the content-addressed store, hash-verified

1191}
1192
1193func 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
1204func assertGoldenCommandSchemaEqual(t *testing.T, command string, got, want jsonGoldenCommandSchema) {
1205 t.Helper()

Calls 1

sortedCopyFunction · 0.70

Tested by

no test coverage detected