We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cecde24 commit ae5c5abCopy full SHA for ae5c5ab
internal/acctest/compare.go
@@ -150,9 +150,8 @@ func compareStringSlices(request, cassette []string) bool {
150
return true
151
}
152
153
-// compareJSONSlices compares two slices of interface{}
154
-// if the slices are comparable (string or float64), it will sort them and compare them
155
-// in case of slice of map[string]interface{}, it will attempt to normalize them or recurse on compareJSONFields
+// compareSlices compares two slices of interface{}
+// in case of slice of map[string]interface{}, it will attempt to find a match in the other slice without taking into account the order
156
func compareSlices(request, cassette []interface{}) bool {
157
if len(request) != len(cassette) {
158
return false
0 commit comments