Skip to content

Commit b6a503d

Browse files
committed
test updated
1 parent 8e01c1c commit b6a503d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/java/org/apache/ibatis/reflection/ExceptionUtilTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ public void shouldUnwrapThrowable() {
1414
assertEquals(exception, ExceptionUtil.unwrapThrowable(exception));
1515
assertEquals(exception, ExceptionUtil.unwrapThrowable(new InvocationTargetException(exception, "test")));
1616
assertEquals(exception, ExceptionUtil.unwrapThrowable(new UndeclaredThrowableException(exception, "test")));
17+
assertEquals(exception, ExceptionUtil.unwrapThrowable(new InvocationTargetException(new InvocationTargetException(exception, "test"), "test")));
18+
assertEquals(exception, ExceptionUtil.unwrapThrowable(new InvocationTargetException(new UndeclaredThrowableException(exception, "test"), "test")));
1719
}
1820

19-
2021
}

0 commit comments

Comments
 (0)