Skip to content

Remove duplicate assertion in testFileWilcards - #13165

Merged
gnodet merged 1 commit into
apache:masterfrom
gnodet:fix/remove-duplicate-wildcard-assertion
Sep 17, 2026
Merged

gnodet merged 1 commit into
apache:masterfrom
gnodet:fix/remove-duplicate-wildcard-assertion

Conversation

@gnodet

@gnodet gnodet commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #13160: remove the duplicate assertActivation(true, newProfile("exists('${project.basedir}/**/*.xsd')"), newFileContext()) line carried over from the pre-existing @Disabled block. Already fixed on maven-4.0.x in #13163 (475f726).

@gnodet gnodet added the bug Something isn't working label Sep 17, 2026
@gnodet gnodet added this to the 4.1.0 milestone Sep 17, 2026

@gnodet-bot gnodet-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The removal is correct. The deleted assertion is byte-for-byte identical to line 424 — same expression, same context, no semantic difference. After the deletion the method retains 4 positive assertions and 2 negative assertions, so coverage is unchanged.

Minor note: the PR description says "Already fixed on maven-4.0.x in #13163 (475f726)" — #13163 is still open as of this review, not yet merged, so that phrasing is slightly ahead of reality. No action needed here.

This review was generated by an AI agent, Hermès on behalf of @gnodet.

@gnodet
gnodet merged commit 01ff081 into apache:master Sep 17, 2026
20 checks passed
@gnodet
gnodet deleted the fix/remove-duplicate-wildcard-assertion branch September 17, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants