Skip to content

Commit ae5c5ab

Browse files
committed
wip
1 parent cecde24 commit ae5c5ab

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

internal/acctest/compare.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,8 @@ func compareStringSlices(request, cassette []string) bool {
150150
return true
151151
}
152152

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
153+
// compareSlices compares two slices of interface{}
154+
// 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
156155
func compareSlices(request, cassette []interface{}) bool {
157156
if len(request) != len(cassette) {
158157
return false

0 commit comments

Comments
 (0)