On Wed, 25 Nov 2026 03:00:56 GMT, David Holmes <[email protected]> wrote:

>> JDK-8398053: Rename assertion parameters to expected and actual
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Also could you add `[Testlibrary]` as a prefix on the JBS issue title so that 
> it is clear what "assertion parameters" it is referring to.

@dholmes-ora the message of the exception that was being thrown before the fix 
was:

            fail((msg == null ? "assertEquals" : msg) + " expected: " + lhs + " 
but was: " + rhs);

so it seems that `lhs` was indeed the expected value and `rhs` the actual value.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/34040#issuecomment-7198449856

Reply via email to