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-io.git
commit 96a2ebf0ab5d138185d0e15653bafd1aab80dc77 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Jul 14 09:56:56 2024 -0400 Add MessageDigestCalculatingInputStreamTest.testCloseHandleIOException() --- .../commons/io/input/MessageDigestCalculatingInputStreamTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/test/java/org/apache/commons/io/input/MessageDigestCalculatingInputStreamTest.java b/src/test/java/org/apache/commons/io/input/MessageDigestCalculatingInputStreamTest.java index e778dda44..e1038678f 100644 --- a/src/test/java/org/apache/commons/io/input/MessageDigestCalculatingInputStreamTest.java +++ b/src/test/java/org/apache/commons/io/input/MessageDigestCalculatingInputStreamTest.java @@ -63,6 +63,11 @@ public class MessageDigestCalculatingInputStreamTest { } } + @Test + public void testCloseHandleIOException() throws IOException { + ProxyInputStreamTest.testCloseHandleIOException(MessageDigestCalculatingInputStream.builder()); + } + @Test public void testNormalUse() throws Exception { for (int i = 256; i < 8192; i *= 2) {