Fix early return in prototest.AssertElementsMatch (#14467)

This commit is contained in:
Chris S. Kim 2022-09-02 11:57:28 -04:00 committed by GitHub
parent 14994212c5
commit 9390d71cc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ func AssertElementsMatch[V any](
}
}
if len(outX) == len(outY) && len(outX) == len(listX) {
if len(outX) == len(outY) && len(listX) == len(listY) {
return // matches
}