Browse Source

Fix: wrong exception expected

master
Gintas Grigelionis 7 years ago
parent
commit
11ae95a3c7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java

+ 1
- 1
src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java View File

@@ -234,7 +234,7 @@ public class FileUtilsTest {
@Test @Test
public void testNormalizeDosOrNetwareFailures() { public void testNormalizeDosOrNetwareFailures() {
assumeTrue("Not DOS or Netware", Os.isFamily("dos") || Os.isFamily("netware")); assumeTrue("Not DOS or Netware", Os.isFamily("dos") || Os.isFamily("netware"));
thrown.expect(IOException.class);
thrown.expect(BuildException.class);
try { try {
FILE_UTILS.normalize("/").getPath(); FILE_UTILS.normalize("/").getPath();
} finally { } finally {


Loading…
Cancel
Save