This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git
commit 85b15c62fe035b9d7dc37b8fa226c23b0922dc2f Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Sat Jun 14 07:09:47 2025 -0400 Add missing test per JaCoCo test coverage --- src/test/java/org/apache/commons/lang3/mutable/MutableObjectTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/apache/commons/lang3/mutable/MutableObjectTest.java b/src/test/java/org/apache/commons/lang3/mutable/MutableObjectTest.java index 634ea8680..a55f6cbe0 100644 --- a/src/test/java/org/apache/commons/lang3/mutable/MutableObjectTest.java +++ b/src/test/java/org/apache/commons/lang3/mutable/MutableObjectTest.java @@ -17,6 +17,7 @@ package org.apache.commons.lang3.mutable; import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; @@ -48,7 +49,7 @@ void testEquals() { final MutableObject<String> mutNumC = new MutableObject<>("BETA"); final MutableObject<String> mutNumNull1 = new MutableObject<>(null); final MutableObject<String> mutNumNull2 = new MutableObject<>(null); - + assertFalse(mutNumA.equals(null)); assertEquals(mutNumA, mutNumA); assertEquals(mutNumA, mutNumB); assertEquals(mutNumB, mutNumA);