Skip to content

Commit

Permalink
Add more assertions.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Jan 11, 2024
1 parent 691cdc0 commit 9dcbc00
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion SUPPORTED-FORMATS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!--- DO NOT EDIT -- Generated at 2024-01-11T17:26:39.067180 - Run the `main` method of `ParserRegistry` to regenerate after changing parsers -- DO NOT EDIT --->
<!--- DO NOT EDIT -- Generated at 2024-01-11T18:13:29.166749 - Run the `main` method of `ParserRegistry` to regenerate after changing parsers -- DO NOT EDIT --->
# Supported Report Formats

The static analysis model supports the following report formats.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ protected void assertThatIssuesArePresent(final Report report, final SoftAsserti
.hasType("ANSIBLE0004")
.hasLineStart(7)
.hasSeverity(Severity.WARNING_HIGH);
softly.assertThat(report.get(1))
.hasMessage("[ANSIBLE9998] Best practice 'Standards version should be pinned' not met: simple_role.yml: Standards version not set. Using latest standards version 0.2")
.hasFileName("simple_role.yml")
.hasType("ANSIBLE9998")
.hasLineStart(0)
.hasSeverity(Severity.WARNING_NORMAL);
}

@Override
Expand Down

0 comments on commit 9dcbc00

Please sign in to comment.