Skip to content

Commit 9f0f6f8

Browse files
committed
Add missing test per JaCoCo test coverage
1 parent a71c05e commit 9f0f6f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/java/org/apache/commons/lang3/tuple/ImmutablePairTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ void testOfNonNull() {
168168

169169
@Test
170170
void testPairOfMapEntry() {
171+
assertSame(ImmutablePair.nullPair(), ImmutablePair.of(null));
171172
final HashMap<Integer, String> map = new HashMap<>();
172173
map.put(0, "foo");
173174
final Entry<Integer, String> entry = map.entrySet().iterator().next();

0 commit comments

Comments
 (0)