summaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2013-10-07 15:12:43 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2013-10-07 15:12:43 +0200
commitb826ccc4bb97a68b57a129f4131de671e36f3ded (patch)
tree6d1a60914b3660f09cf7730207b962d70e62db27 /sonar-batch
parent1fcbb5e85e979eea35bafed165a3e89d1058bdd8 (diff)
downloadsonarqube-b826ccc4bb97a68b57a129f4131de671e36f3ded.tar.gz
sonarqube-b826ccc4bb97a68b57a129f4131de671e36f3ded.zip
Fix UT that was relying on element order in list
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/test/java/org/sonar/batch/scan/filesystem/DefaultModuleFileSystemTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-batch/src/test/java/org/sonar/batch/scan/filesystem/DefaultModuleFileSystemTest.java b/sonar-batch/src/test/java/org/sonar/batch/scan/filesystem/DefaultModuleFileSystemTest.java
index c9e7d5870ac..61f0ccbe5bd 100644
--- a/sonar-batch/src/test/java/org/sonar/batch/scan/filesystem/DefaultModuleFileSystemTest.java
+++ b/sonar-batch/src/test/java/org/sonar/batch/scan/filesystem/DefaultModuleFileSystemTest.java
@@ -288,8 +288,8 @@ public class DefaultModuleFileSystemTest {
.addTestDir(testDir)
.setSettings(settings);
- assertThat(fileSystem.files(FileQuery.onSource())).containsExactly(foo, hello);
- assertThat(fileSystem.files(FileQuery.onTest())).containsExactly(fooTest, helloTest);
+ assertThat(fileSystem.files(FileQuery.onSource())).containsOnly(foo, hello);
+ assertThat(fileSystem.files(FileQuery.onTest())).containsOnly(fooTest, helloTest);
assertThat(fileSystem.changedFiles(FileQuery.onSource())).containsExactly(foo);
assertThat(fileSystem.changedFiles(FileQuery.onTest())).containsExactly(fooTest);