Skip to content

Commit ca3c842

Browse files
committed
Add missing test per JaCoCo test coverage
1 parent 9744582 commit ca3c842

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/test/java/org/apache/commons/lang3/concurrent/locks/LockingVisitorsTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ void testCreate() {
101101
assertEquals(2, res.get());
102102
}
103103

104+
@SuppressWarnings("deprecation")
105+
@Test
106+
void testDeprecatedConstructor() {
107+
assertNotNull(new LockingVisitors().toString());
108+
}
109+
104110
@Test
105111
void testReentrantReadWriteLockExclusive() throws Exception {
106112

0 commit comments

Comments
 (0)