You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gn...@apache.org on 2026/09/17 18:36:31 UTC

(maven) branch master updated: Remove duplicate assertion in testFileWilcards (#13165)

This is an automated email from the ASF dual-hosted git repository.

gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/master by this push:
     new 01ff081b2b Remove duplicate assertion in testFileWilcards (#13165)
01ff081b2b is described below

commit 01ff081b2b8203efe467d65b79e634d9770a79c5
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Thu Sep 17 20:36:25 2026 +0200

    Remove duplicate assertion in testFileWilcards (#13165)
---
 .../apache/maven/impl/model/profile/ConditionProfileActivatorTest.java   | 1 -
 1 file changed, 1 deletion(-)

diff --git a/impl/maven-impl/src/test/java/org/apache/maven/impl/model/profile/ConditionProfileActivatorTest.java b/impl/maven-impl/src/test/java/org/apache/maven/impl/model/profile/ConditionProfileActivatorTest.java
index aa5226967c..41d0156b8a 100644
--- a/impl/maven-impl/src/test/java/org/apache/maven/impl/model/profile/ConditionProfileActivatorTest.java
+++ b/impl/maven-impl/src/test/java/org/apache/maven/impl/model/profile/ConditionProfileActivatorTest.java
@@ -422,7 +422,6 @@ void testFileRootDirectory() {
     void testFileWilcards() {
         assertActivation(true, newProfile("exists('${project.rootDirectory}/**/*.xsd')"), newFileContext());
         assertActivation(true, newProfile("exists('${project.basedir}/**/*.xsd')"), newFileContext());
-        assertActivation(true, newProfile("exists('${project.basedir}/**/*.xsd')"), newFileContext());
         assertActivation(true, newProfile("exists('**/*.xsd')"), newFileContext());
         assertActivation(true, newProfile("missing('**/*.xml')"), newFileContext());
         assertActivation(false, newProfile("missing('${project.basedir}/**/*.xsd')"), newFileContext());