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 56881bbdb5bfb2e5c663be2356a0a006b9bbd97b
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Jul 10 11:03:59 2021 -0400

    Sort members.
---
 .../apache/commons/io/input/BrokenReaderTest.java  | 32 +++++++++++-----------
 1 file changed, 16 insertions(+), 16 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 5ad04b2..5844ca2 100644
--- a/src/test/java/org/apache/commons/io/input/BrokenReaderTest.java
+++ b/src/test/java/org/apache/commons/io/input/BrokenReaderTest.java
@@ -42,43 +42,43 @@ public class BrokenReaderTest {
     }
 
     @Test
-    public void testRead() {
+    public void testClose() {
         try {
-            reader.read();
+            reader.close();
             fail("Expected exception not thrown.");
         } catch (final IOException e) {
             assertEquals(exception, e);
         }
+    }
 
+    @Test
+    public void testMark() {
         try {
-            reader.read(new char[1]);
+            reader.mark(1);
             fail("Expected exception not thrown.");
         } catch (final IOException e) {
             assertEquals(exception, e);
         }
+    }
 
+    @Test
+    public void testRead() {
         try {
-            reader.read(new char[1], 0, 1);
+            reader.read();
             fail("Expected exception not thrown.");
         } catch (final IOException e) {
             assertEquals(exception, e);
         }
-    }
 
-    @Test
-    public void testSkip() {
         try {
-            reader.skip(1);
+            reader.read(new char[1]);
             fail("Expected exception not thrown.");
         } catch (final IOException e) {
             assertEquals(exception, e);
         }
-    }
 
-    @Test
-    public void testReady() {
         try {
-            reader.ready();
+            reader.read(new char[1], 0, 1);
             fail("Expected exception not thrown.");
         } catch (final IOException e) {
             assertEquals(exception, e);
@@ -86,9 +86,9 @@ public class BrokenReaderTest {
     }
 
     @Test
-    public void testMark() {
+    public void testReady() {
         try {
-            reader.mark(1);
+            reader.ready();
             fail("Expected exception not thrown.");
         } catch (final IOException e) {
             assertEquals(exception, e);
@@ -106,9 +106,9 @@ public class BrokenReaderTest {
     }
 
     @Test
-    public void testClose() {
+    public void testSkip() {
         try {
-            reader.close();
+            reader.skip(1);
             fail("Expected exception not thrown.");
         } catch (final IOException e) {
             assertEquals(exception, e);

Reply via email to