aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-ce-task-projectanalysis
diff options
context:
space:
mode:
authorPhilippe Perrin <philippe.perrin@sonarsource.com>2020-12-10 11:30:28 +0100
committersonartech <sonartech@sonarsource.com>2020-12-14 20:07:14 +0000
commit55beb4250989be32c957a61b80321f6d2c4528a6 (patch)
tree045a86ebc13394d3de85ec6ec7b8b1ad20af18b5 /server/sonar-ce-task-projectanalysis
parent7bef61b574f3e80fb04b6d426b8332b0e73ffadd (diff)
downloadsonarqube-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.java4
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));
}
}
}