Visitar URL original
Fix failed tests in CPD reports that were hidden by overly broad catch clauses by elharo · Pull Request #192 · apache/maven-pmd-plugin · GitHub
Skip to content

Fix failed tests in CPD reports that were hidden by overly broad catch clauses - #192

Merged
elharo merged 19 commits into
masterfrom
split
May 1, 2025
Merged

elharo merged 19 commits into
masterfrom
split

Conversation

@elharo

@elharo elharo commented Apr 20, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@elharo 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 Apr 20, 2025
} catch (final Exception e) {
assertTrue(e.getMessage()
.startsWith("CPD " + AbstractPmdReport.getPmdVersion() + " has found 1 duplication."));
} catch (final MojoFailureException e) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@elharo
elharo marked this pull request as ready for review April 23, 2025 16:24

@elharo elharo left a comment

Copy link
Copy Markdown
Contributor Author

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

@elharo
elharo merged commit bbee689 into master May 1, 2025
@elharo
elharo deleted the split branch May 1, 2025 17:16
@github-actions github-actions Bot added this to the 3.26.1 milestone May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants