Skip to content

Commit

Permalink
Merge pull request #2659 from RiJo/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
juherr committed Oct 19, 2021
2 parents 80e02ff + 7308c97 commit d9c6e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testng-asserts/src/main/java/org/testng/Assert.java
Original file line number Diff line number Diff line change
Expand Up @@ -2073,7 +2073,7 @@ static void assertNotEquals(int actual, int expected) {
}

public static void assertNotEquals(float actual, float expected, float delta, String message) {
if (areEqual(actual, expected)) {
if (areEqual(actual, expected, delta)) {
Assert.fail(format(actual, expected, message, false));
}
}
Expand Down

0 comments on commit d9c6e45

Please sign in to comment.