diff options
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); |