Repository: ant
Updated Branches:
  refs/heads/master 025ec7bfa -> 11ae95a3c


Fix: wrong exception expected

Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/11ae95a3
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/11ae95a3
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/11ae95a3

Branch: refs/heads/master
Commit: 11ae95a3c7e5d514046a99eda38f0994581de485
Parents: 025ec7b
Author: Gintas Grigelionis <gin...@apache.org>
Authored: Mon Apr 23 08:24:21 2018 +0200
Committer: Gintas Grigelionis <gin...@apache.org>
Committed: Mon Apr 23 08:24:21 2018 +0200

----------------------------------------------------------------------
 src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant/blob/11ae95a3/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java
----------------------------------------------------------------------
diff --git a/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java 
b/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java
index b6133bd..c759d71 100644
--- a/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java
+++ b/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java
@@ -234,7 +234,7 @@ public class FileUtilsTest {
     @Test
     public void testNormalizeDosOrNetwareFailures() {
         assumeTrue("Not DOS or Netware", Os.isFamily("dos") || 
Os.isFamily("netware"));
-        thrown.expect(IOException.class);
+        thrown.expect(BuildException.class);
         try {
             FILE_UTILS.normalize("/").getPath();
         } finally {

Reply via email to