aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-10-10 09:32:42 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-10-10 09:32:42 +0200
commit926049c54c96661eaeb474b238a766cd4e699e48 (patch)
treed405e6bacecedb8ddfe0f199320dc519604945fd /sonar-plugin-api
parent9bf594f73716a2da0506f1ab06fb8d13ab67603f (diff)
downloadsonarqube-926049c54c96661eaeb474b238a766cd4e699e48.tar.gz
sonarqube-926049c54c96661eaeb474b238a766cd4e699e48.zip
SONAR-3677 fix another test on MSWindows
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/test/java/org/sonar/api/scan/filesystem/internal/DefaultInputFileTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/scan/filesystem/internal/DefaultInputFileTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/scan/filesystem/internal/DefaultInputFileTest.java
index 75430ff86a3..203895e111a 100644
--- a/sonar-plugin-api/src/test/java/org/sonar/api/scan/filesystem/internal/DefaultInputFileTest.java
+++ b/sonar-plugin-api/src/test/java/org/sonar/api/scan/filesystem/internal/DefaultInputFileTest.java
@@ -73,7 +73,7 @@ public class DefaultInputFileTest {
assertThat(input.file()).isEqualTo(file);
assertThat(input.attribute(InputFile.ATTRIBUTE_SOURCEDIR_PATH)).isEqualTo(FilenameUtils.separatorsToUnix(sourceDir.getAbsolutePath()));
assertThat(input.relativePath()).isEqualTo("src/main/java/Foo.java");
- assertThat(input.path()).isEqualTo(file.getCanonicalPath());
+ assertThat(input.path()).isEqualTo(FilenameUtils.separatorsToUnix(file.getCanonicalPath()));
}
@Test