Fix message supplier coverage in AssertTests

Closes gh-37255

Signed-off-by: Hyunwoo Jung <hyunwoojung@kakao.com>
This commit is contained in:
Hyunwoo Jung
2026-09-14 15:01:52 +02:00
committed by GitHub
parent f768641c08
commit 4898ed3ad8
@@ -441,7 +441,7 @@ class AssertTests {
@Test
void noNullElementsWithEmptyCollectionAndMessageSupplier() {
assertThatCode(() ->
Assert.noNullElements(emptyList(), "enigma"))
Assert.noNullElements(emptyList(), () -> "enigma"))
.doesNotThrowAnyException();
}