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 4bc5514  Sort members.
4bc5514 is described below

commit 4bc551413812d56c804baa61ff57959bb9308981
Author: Gary Gregory <gardgreg...@gmail.com>
AuthorDate: Tue Sep 14 21:28:27 2021 -0400

    Sort members.
---
 .../org/apache/commons/io/FileUtilsTestCase.java   | 26 +++++++++++-----------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/test/java/org/apache/commons/io/FileUtilsTestCase.java 
b/src/test/java/org/apache/commons/io/FileUtilsTestCase.java
index 870497f..4509ffc 100644
--- a/src/test/java/org/apache/commons/io/FileUtilsTestCase.java
+++ b/src/test/java/org/apache/commons/io/FileUtilsTestCase.java
@@ -1626,6 +1626,19 @@ public class FileUtilsTestCase {
     }
 
     @Test
+    public void testIsDirectory() throws IOException {
+        assertFalse(FileUtils.isDirectory(null));
+
+        assertTrue(FileUtils.isDirectory(temporaryFolder));
+        assertFalse(FileUtils.isDirectory(testFile1));
+
+        final Path tempDir = 
Files.createTempDirectory(getClass().getCanonicalName());
+        final File tempDirAsFile = tempDir.toFile();
+        Files.delete(tempDir);
+        assertFalse(FileUtils.isDirectory(tempDirAsFile));
+    }
+
+    @Test
     public void testIsEmptyDirectory() throws IOException {
         final Path tempDir = 
Files.createTempDirectory(getClass().getCanonicalName());
         final File tempDirAsFile = tempDir.toFile();
@@ -1803,19 +1816,6 @@ public class FileUtilsTestCase {
     }
 
     @Test
-    public void testIsDirectory() throws IOException {
-        assertFalse(FileUtils.isDirectory(null));
-
-        assertTrue(FileUtils.isDirectory(temporaryFolder));
-        assertFalse(FileUtils.isDirectory(testFile1));
-
-        final Path tempDir = 
Files.createTempDirectory(getClass().getCanonicalName());
-        final File tempDirAsFile = tempDir.toFile();
-        Files.delete(tempDir);
-        assertFalse(FileUtils.isDirectory(tempDirAsFile));
-    }
-
-    @Test
     public void testIsRegularFile() throws IOException {
         assertFalse(FileUtils.isRegularFile(null));
 

Reply via email to