Use consistent exception messages in Assert calls

See gh-44044

Signed-off-by: Johnny Lim <izeye@naver.com>
This commit is contained in:
Johnny Lim
2025-02-02 23:11:11 +09:00
committed by Moritz Halbritter
parent c8afa398f1
commit c9320de559
33 changed files with 56 additions and 56 deletions

View File

@@ -56,7 +56,7 @@ class HttpStatusHandlerTests {
@Test
void statusMustNotBeNull() {
assertThatIllegalArgumentException().isThrownBy(() -> new HttpStatusHandler(null))
.withMessageContaining("Status must not be null");
.withMessageContaining("'status' must not be null");
}
@Test