Using ASSERT.assertEquals() of Testerra with an int, a long and a String as parameters, the assertion would fail even if the values were equal. However using TestNG's Assert.assertEquals(), the assertion would pass. The same would occur with float and double. This behavior was fixed so that the results of TestNG's and Testerra's assertEquals are now the same.
Type of change
Please delete options that are not relevant.
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
Description
Using
ASSERT.assertEquals()
of Testerra with anint
, along
and aString
as parameters, the assertion would fail even if the values were equal. However using TestNG'sAssert.assertEquals()
, the assertion would pass. The same would occur withfloat
anddouble
. This behavior was fixed so that the results of TestNG's and Testerra'sassertEquals
are now the same.Type of change
Please delete options that are not relevant.
Checklist: