We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assert.assertEquals
Describe the bug
At least some code in the TCKs reverses the expected and actual parameters in the Assert.assertEquals method invocations.
One example:
microprofile-telemetry/tck/tracing/src/main/java/org/eclipse/microprofile/telemetry/tracing/tck/rest/W3BaggagePropagationTest.java
Lines 110 to 111 in 5ab478e
The first parameter should be the actual value and the second the expected value
https://javadoc.io/static/org.testng/testng/7.10.2/org/testng/asserts/Assertion.html#assertEquals(boolean,boolean)
public static void assertEquals(int actual, int expected )
but they are reversed here (and possibly elsewhere).
If the implementation works correctly then the assertion passes anyway, so this is not a big problem but should be addressed eventually.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
At least some code in the TCKs reverses the expected and actual parameters in the
Assert.assertEquals
method invocations.One example:
microprofile-telemetry/tck/tracing/src/main/java/org/eclipse/microprofile/telemetry/tracing/tck/rest/W3BaggagePropagationTest.java
Lines 110 to 111 in 5ab478e
The first parameter should be the actual value and the second the expected value
https://javadoc.io/static/org.testng/testng/7.10.2/org/testng/asserts/Assertion.html#assertEquals(boolean,boolean)
but they are reversed here (and possibly elsewhere).
If the implementation works correctly then the assertion passes anyway, so this is not a big problem but should be addressed eventually.
The text was updated successfully, but these errors were encountered: