Fix failed tests in CPD reports that were hidden by overly broad catch clauses by elharo · Pull Request #192 · apache/maven-pmd-plugin (original) (raw)
Navigation Menu
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Merged
merged 19 commits into
May 1, 2025
Conversation
elharo changed the title
Fix failed tests in CPD reports that were hidden by overly braod catch clauses Fix failed tests in CPD reports that were hidden by overly broad catch clauses
| } catch (final Exception e) { |
|---|
| assertTrue(e.getMessage() |
| .startsWith("CPD " + AbstractPmdReport.getPmdVersion() + " has found 1 duplication.")); |
| } catch (final MojoFailureException e) { |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
elharo marked this pull request as ready for review
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PTAL. Finally figured out got all the tests passing across the matrix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})