Withdrawn: 8340493: Fix some Asserts failure messages

duke duke at openjdk.org
Fri Nov 15 03:02:09 UTC 2024


On Fri, 20 Sep 2024 00:33:39 GMT, Weijun Wang <weijun at openjdk.org> wrote:

> `Asserts.assertNotEquals` shows "expected 12345 to not equal 12345" which sounds redundant, just say "expected not equals but was 12345".
> 
> `Asserts.assertEqualsByteArray` uses the words "expected... to equal...". Modify it to follow the `assertEquals` style ""expected... but was...".

This pull request has been closed without being integrated.

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

PR: https://git.openjdk.org/jdk/pull/21101


More information about the core-libs-dev mailing list