aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-10-02 09:11:42 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-10-02 09:11:42 +0200
commit1aaeab7a4a611ec99565ad5a9095e464dd16e9dd (patch)
tree3dc68fcfdf48a9b335c0340f08479a5fb7b721e6 /sonar-application
parentbc6247b2ae419e75a58516a65001dc1fb62f5653 (diff)
downloadsonarqube-1aaeab7a4a611ec99565ad5a9095e464dd16e9dd.tar.gz
sonarqube-1aaeab7a4a611ec99565ad5a9095e464dd16e9dd.zip
SONAR-4675 try again to fix test on windows
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"));
}
}
}