Simplify to assertNull(Object, String)

This commit is contained in:
Alex Golub 2022-04-21 11:34:47 +03:00
parent f56a57f901
commit 0e399659c1
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ class Junit5AssertionsUnitTest {
"heading", "heading",
() -> assertEquals(4, 2 * 2, "4 is 2 times 2"), () -> assertEquals(4, 2 * 2, "4 is 2 times 2"),
() -> assertEquals("java", "JAVA".toLowerCase()), () -> assertEquals("java", "JAVA".toLowerCase()),
() -> assertEquals(obj, null, "null is equal to null") () -> assertNull(obj, "obj is null")
); );
} }