Browse Source

whitespace

master
Stefan Bodewig 7 years ago
parent
commit
5892ab045d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/tests/junit/org/apache/tools/ant/util/JavaEnvUtilsTest.java

+ 2
- 2
src/tests/junit/org/apache/tools/ant/util/JavaEnvUtilsTest.java View File

@@ -68,9 +68,9 @@ public class JavaEnvUtilsTest {
String javaHomeParent = FILE_UTILS.normalize(javaHome + "/..").getAbsolutePath();
assertTrue(j + " is normalized and in the JDK dir", j.startsWith(javaHomeParent));
if (JavaEnvUtils.isAtLeastJavaVersion(JavaEnvUtils.JAVA_9)) {
assertTrue(j + " is normalized and not in the JRE dir", j.startsWith(javaHome));
assertTrue(j + " is normalized and not in the JRE dir", j.startsWith(javaHome));
} else {
assertTrue(j + " is normalized and not in the JRE dir", !j.startsWith(javaHome));
assertTrue(j + " is normalized and not in the JRE dir", !j.startsWith(javaHome));
}
} catch (AssertionError e) {
// java.home is bogus


Loading…
Cancel
Save