Skip to content

Commit

Permalink
Fix error prone warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Oct 5, 2024
1 parent a4b2f36 commit 0e17398
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ void shouldAssignCorrectParserType() {
var typeCountMap = parserRegistry.getAllDescriptors().stream()
.collect(Collectors.groupingBy(ParserDescriptor::getType, Collectors.counting()));
assertThat(typeCountMap)
.containsEntry(Type.WARNING, WARNING_PARSERS_COUNT)
.containsEntry(Type.BUG, BUG_PARSERS_COUNT)
.containsEntry(Type.VULNERABILITY, VULNERABILITY_PARSERS_COUNT)
.containsEntry(Type.DUPLICATION, DUPLICATION_PARSERS_COUNT);
.containsEntry(ParserDescriptor.Type.WARNING, WARNING_PARSERS_COUNT)
.containsEntry(ParserDescriptor.Type.BUG, BUG_PARSERS_COUNT)
.containsEntry(ParserDescriptor.Type.VULNERABILITY, VULNERABILITY_PARSERS_COUNT)
.containsEntry(ParserDescriptor.Type.DUPLICATION, DUPLICATION_PARSERS_COUNT);
}

@Test
Expand Down

0 comments on commit 0e17398

Please sign in to comment.