diff options
author | Philippe Perrin <philippe.perrin@sonarsource.com> | 2020-12-10 11:30:28 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2020-12-14 20:07:14 +0000 |
commit | 55beb4250989be32c957a61b80321f6d2c4528a6 (patch) | |
tree | 045a86ebc13394d3de85ec6ec7b8b1ad20af18b5 /server/sonar-ce-task-projectanalysis | |
parent | 7bef61b574f3e80fb04b6d426b8332b0e73ffadd (diff) | |
download | sonarqube-55beb4250989be32c957a61b80321f6d2c4528a6.tar.gz sonarqube-55beb4250989be32c957a61b80321f6d2c4528a6.zip |
Fix AssertJ assertions
Diffstat (limited to 'server/sonar-ce-task-projectanalysis')
-rw-r--r-- | server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/source/SourceLinesHashRepositoryImplTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/source/SourceLinesHashRepositoryImplTest.java b/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/source/SourceLinesHashRepositoryImplTest.java index 1ca98731ca1..05fef6d04c3 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/source/SourceLinesHashRepositoryImplTest.java +++ b/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/source/SourceLinesHashRepositoryImplTest.java @@ -233,8 +233,8 @@ public class SourceLinesHashRepositoryImplTest { for (int i = 0; i < expectedLines.size(); i++) { assertThat(actualLines.get(i)) - .isEqualTo(expectedLines.get(i)) - .withFailMessage("Line hash is different for line %d", i); + .withFailMessage("Line hash is different for line %d", i) + .isEqualTo(expectedLines.get(i)); } } } |