Skip to content

Commit 5251eff

Browse files
alan2wongwuhan005
andauthored
Update assert/assertions.go
Co-authored-by: E99p1ant <i@github.red>
1 parent 765c945 commit 5251eff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assert/assertions.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1611,8 +1611,8 @@ func prune(a, b *interface{}) {
16111611
case []interface{}:
16121612
temp := []interface{}{}
16131613

1614-
for i, aValue := range aTyped {
1615-
if bArray, ok := (*b).([]interface{}); ok {
1614+
if bArray, ok := (*b).([]interface{}); ok {
1615+
for i, aValue := range aTyped {
16161616
if len(bArray) > i {
16171617
prune(&aValue, &bArray[i])
16181618
temp = append(temp, aValue)

0 commit comments

Comments
 (0)