diff --git a/maven-release-manager/src/test/java/org/apache/maven/shared/release/exec/CommandLineFactoryTest.java b/maven-release-manager/src/test/java/org/apache/maven/shared/release/exec/CommandLineFactoryTest.java index f041b465a..4bdedb05c 100644 --- a/maven-release-manager/src/test/java/org/apache/maven/shared/release/exec/CommandLineFactoryTest.java +++ b/maven-release-manager/src/test/java/org/apache/maven/shared/release/exec/CommandLineFactoryTest.java @@ -22,6 +22,8 @@ import org.codehaus.plexus.PlexusTestCase; import org.codehaus.plexus.util.cli.Commandline; +import java.util.Locale; + /** * Test the command line factory. * @@ -46,7 +48,8 @@ public void testCreation() { Commandline cl = factory.createCommandLine( "exec" ); - assertEquals( "Check executable", "exec", cl.getExecutable() ); + String executable = cl.getExecutable(); + assertTrue( "Check executable " + executable, executable.contains("exec") ); assertNotNull( "Check environment", cl.getEnvironmentVariables() ); assertFalse( "Check environment", cl.getEnvironmentVariables().length == 0 ); } diff --git a/pom.xml b/pom.xml index a90e0ab92..253e24891 100644 --- a/pom.xml +++ b/pom.xml @@ -202,7 +202,7 @@ org.xmlunit xmlunit-core - 2.5.1 + 2.6.4