Use consistent exception messages in Assert calls
See gh-44044 Signed-off-by: Johnny Lim <izeye@naver.com>
This commit is contained in:
committed by
Moritz Halbritter
parent
c8afa398f1
commit
c9320de559
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user