diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2013-10-07 15:12:43 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2013-10-07 15:12:43 +0200 |
commit | b826ccc4bb97a68b57a129f4131de671e36f3ded (patch) | |
tree | 6d1a60914b3660f09cf7730207b962d70e62db27 /sonar-batch | |
parent | 1fcbb5e85e979eea35bafed165a3e89d1058bdd8 (diff) | |
download | sonarqube-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.java | 4 |
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); |