aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-application')
-rw-r--r--sonar-application/src/test/java/org/sonar/application/PropsTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-application/src/test/java/org/sonar/application/PropsTest.java b/sonar-application/src/test/java/org/sonar/application/PropsTest.java
index 99236b7fb68..678f8933b80 100644
--- a/sonar-application/src/test/java/org/sonar/application/PropsTest.java
+++ b/sonar-application/src/test/java/org/sonar/application/PropsTest.java
@@ -19,6 +19,7 @@
*/
package org.sonar.application;
+import org.apache.commons.io.FilenameUtils;
import org.junit.Test;
import java.io.File;
@@ -95,7 +96,7 @@ public class PropsTest {
Props.create(env);
fail();
} catch (IllegalStateException e) {
- assertThat(e).hasMessage("File does not exist or can't be open: target/not_exist/sonar.properties");
+ assertThat(e).hasMessage("File does not exist or can't be open: " + FilenameUtils.separatorsToSystem("target/not_exist/sonar.properties"));
}
}
}