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


The following commit(s) were added to refs/heads/master by this push:
     new 4163ab3  Back out test, I had this test passing locally in Eclipse and 
failing from the command line. Weird.
4163ab3 is described below

commit 4163ab3c377bdb1fa39a562242250df2055f04eb
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Sep 27 20:18:15 2021 -0400

    Back out test, I had this test passing locally in Eclipse and failing
    from the command line. Weird.
---
 .../java/org/apache/commons/io/input/BrokenReaderTest.java | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/src/test/java/org/apache/commons/io/input/BrokenReaderTest.java 
b/src/test/java/org/apache/commons/io/input/BrokenReaderTest.java
index eaca157..ba26938 100644
--- a/src/test/java/org/apache/commons/io/input/BrokenReaderTest.java
+++ b/src/test/java/org/apache/commons/io/input/BrokenReaderTest.java
@@ -86,18 +86,4 @@ public class BrokenReaderTest {
         assertEquals(exception, assertThrows(IOException.class, () -> 
brokenReader.skip(1)));
     }
 
-    @Test
-    public void testTryWithResourcesThrows() throws IOException {
-        assertThrows(IOException.class, () -> {
-            try (Reader newReader = new BrokenReader()) {
-                newReader.read();
-            }
-        });
-        assertThrows(IOException.class, () -> {
-            try (Reader newReader = new BrokenReader()) {
-                // noop
-            }
-        });
-    }
-
 }

Reply via email to