diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-10-02 09:11:42 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-10-02 09:11:42 +0200 |
commit | 1aaeab7a4a611ec99565ad5a9095e464dd16e9dd (patch) | |
tree | 3dc68fcfdf48a9b335c0340f08479a5fb7b721e6 /sonar-application | |
parent | bc6247b2ae419e75a58516a65001dc1fb62f5653 (diff) | |
download | sonarqube-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.java | 3 |
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")); } } } |