Back out test, I had this test passing locally in Eclipse and failing
from the command line. Weird.
MODIFY
src/test/java/org/apache/commons/io/input/BrokenReaderTest.java
src/test/java/org/apache/commons/io/input/BrokenReaderTest.java
@@ -86,18 +86,4 @@ public void testSkip() {
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
- }
- });
- }
-
}

Back out test, I had this test passing locally in Eclipse and failing
from the command line. Weird.