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 2022/11/17 11:53:54 UTC

[maven-plugin-tools] branch master updated: MPLUGIN-441] Fix test (#174)

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-plugin-tools.git


The following commit(s) were added to refs/heads/master by this push:
     new f04af960 MPLUGIN-441] Fix test (#174)
f04af960 is described below

commit f04af9600c9fb63f84b62a9175c73498b7e4c490
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Thu Nov 17 12:53:49 2022 +0100

    MPLUGIN-441] Fix test (#174)
---
 maven-plugin-plugin/src/it/v4api/verify.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maven-plugin-plugin/src/it/v4api/verify.groovy b/maven-plugin-plugin/src/it/v4api/verify.groovy
index 89f5f293..c3c4967c 100644
--- a/maven-plugin-plugin/src/it/v4api/verify.groovy
+++ b/maven-plugin-plugin/src/it/v4api/verify.groovy
@@ -30,7 +30,7 @@ def mojo = pluginDescriptor.mojos.mojo.findAll{ it.goal.text() == "first" }[0]
 assert mojo.goal.text() == 'first'
 assert mojo.implementation.text() == 'org.apache.maven.its.v4api.FirstMojo'
 assert mojo.language.text() == 'java'
-assert mojo.description.text() == 'Touches a test file.'
+assert mojo.description.text().startsWith('Test mojo for the v4 api plugin descriptor generation.')
 assert mojo.requiresDependencyResolution.text() == 'test'
 assert mojo.requiresDependencyCollection.text() == ''
 assert mojo.requiresProject.text() == 'true'