aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-batch/src/test/java/org/sonar/batch/mediumtest/fs/FileSystemMediumTest.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/sonar-batch/src/test/java/org/sonar/batch/mediumtest/fs/FileSystemMediumTest.java b/sonar-batch/src/test/java/org/sonar/batch/mediumtest/fs/FileSystemMediumTest.java
index 5429cbd860c..4e5822d0827 100644
--- a/sonar-batch/src/test/java/org/sonar/batch/mediumtest/fs/FileSystemMediumTest.java
+++ b/sonar-batch/src/test/java/org/sonar/batch/mediumtest/fs/FileSystemMediumTest.java
@@ -39,7 +39,6 @@ import java.io.File;
import java.io.IOException;
import static org.fest.assertions.Assertions.assertThat;
-import static org.junit.Assume.assumeFalse;
public class FileSystemMediumTest {
@@ -174,13 +173,14 @@ public class FileSystemMediumTest {
// SONAR-5330
@Test
public void scanProjectWithSourceSymlink() throws Exception {
- assumeFalse(System2.INSTANCE.isOsWindows());
- File projectDir = new File("src/test/resources/mediumtest/xoo/sample-with-symlink");
- TaskResult result = tester
- .newScanTask(new File(projectDir, "sonar-project.properties"))
- .start();
-
- assertThat(result.inputFiles()).hasSize(3);
+ if (!System2.INSTANCE.isOsWindows()) {
+ File projectDir = new File("src/test/resources/mediumtest/xoo/sample-with-symlink");
+ TaskResult result = tester
+ .newScanTask(new File(projectDir, "sonar-project.properties"))
+ .start();
+
+ assertThat(result.inputFiles()).hasSize(3);
+ }
}
}