You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return"Sets not equal: expected: " + expectedValue + " and actual: " + value;
}
This should probably be areEqualImpl(value, expectedValue) instead – expected is the whole Set and here it is compared with the current actual value from the iterator, which will always fail.
Is the issue reproducible on runner?
Shell
Maven
Gradle
Ant
Eclipse
IntelliJ
NetBeans
Probably everywhere.
The text was updated successfully, but these errors were encountered:
TestNG Version
Discovered on 7.5.1 and confirmed on 7.10.2
Expected behavior
assertEqualsDeep should probably have similar behaviour with Sets as with Maps.
This will pass:
While this will not:
Root cause
testng/testng-asserts/src/main/java/org/testng/Assert.java
Lines 2070 to 2072 in 0f779fe
This should probably be
areEqualImpl(value, expectedValue)
instead –expected
is the whole Set and here it is compared with the currentactual
value from the iterator, which will always fail.Is the issue reproducible on runner?
Probably everywhere.
The text was updated successfully, but these errors were encountered: