You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "orionlibs (via GitHub)" <gi...@apache.org> on 2023/07/02 15:06:40 UTC

[GitHub] [commons-lang] orionlibs commented on a diff in pull request #1069: LANG-1647

orionlibs commented on code in PR #1069:
URL: https://github.com/apache/commons-lang/pull/1069#discussion_r1249563312


##########
src/test/java/org/apache/commons/lang3/exception/ExceptionUtilsTest.java:
##########
@@ -850,4 +850,40 @@ public void testWrapAndUnwrapThrowable() {
         final Throwable t = assertThrows(Throwable.class, () -> ExceptionUtils.wrapAndThrow(new TestThrowable()));
         assertTrue(ExceptionUtils.hasCause(t, TestThrowable.class));
     }
+
+    @Test
+    public void testIsChecked_unchecked() {
+        final boolean result = ExceptionUtils.isChecked(new IllegalArgumentException());

Review Comment:
   @garydgregory so, should I create new local variables for each case?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org