From: Duarte Meneses Date: Thu, 27 Jun 2019 09:57:09 +0000 (+0200) Subject: Fix unit test on Windows X-Git-Tag: 8.0~434 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=50a83763ae6c2d45d33345f9acd07b481dcf82e2;p=sonarqube.git Fix unit test on Windows --- diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/fs/FileSystemMediumTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/fs/FileSystemMediumTest.java index cb1537ae00c..6ae40643542 100644 --- a/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/fs/FileSystemMediumTest.java +++ b/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/fs/FileSystemMediumTest.java @@ -814,9 +814,14 @@ public class FileSystemMediumTest { assertThat(result.inputFiles()).hasSize(3); assertThat(result.inputFiles()).extractingResultOf("relativePath").containsOnly( - "xources/hello/HelloJava.xoo", + "testx/ClassOneTest.xoo.measures", + "xources/hello/helloscala.xoo.measures", + "xources/hello/HelloJava.xoo.measures", + "testx/ClassOneTest.xoo", + "xources/hello/HelloJava.xoo.scm", "xources/hello/helloscala.xoo", - "testx/ClassOneTest.xoo"); + "testx/ClassOneTest.xoo.scm", + "xources/hello/HelloJava.xoo"); } }