Skip to content

Commit

Permalink
Fix checkstyle violations
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Jonsey committed Nov 27, 2024
1 parent 1142c6c commit 0b8d218
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,16 @@ void shouldIgnoreSuppressedIssues() {
try (var softly = new SoftAssertions()) {
softly.assertThat(report).hasSize(2);
softly.assertThat(report.get(0))
.hasFileName("/whatever/path.c")
.hasLineStart(123)
.hasType("Cyclomatic complexity")
.hasSeverity(Severity.WARNING_HIGH);
.hasFileName("/whatever/path.c")
.hasLineStart(123)
.hasType("Cyclomatic complexity")
.hasSeverity(Severity.WARNING_HIGH);
softly.assertThat(report.get(0).getMessage()).matches("asdasd");
softly.assertThat(report.get(1))
.hasFileName("/whatever/path.c")
.hasLineStart(123)
.hasType("abcdef")
.hasSeverity(Severity.WARNING_LOW);
.hasFileName("/whatever/path.c")
.hasLineStart(123)
.hasType("abcdef")
.hasSeverity(Severity.WARNING_LOW);
softly.assertThat(report.get(1).getMessage()).matches("asdasd");
}
}
Expand Down

0 comments on commit 0b8d218

Please sign in to comment.