Closed NanaOkada closed 2 years ago
The tests testGhostTypeParameterWithClass() and testGhostTypeParameterWithInterface() are flaky because getMemberFields() will return fields in nondeterministic order. I sort the array so the order of fields in the array will always be the same.
testGhostTypeParameterWithClass()
testGhostTypeParameterWithInterface()
getMemberFields()
Thank you!
The tests
testGhostTypeParameterWithClass()
andtestGhostTypeParameterWithInterface()
are flaky becausegetMemberFields()
will return fields in nondeterministic order. I sort the array so the order of fields in the array will always be the same.