Skip to content

Commit

Permalink
update xmlunit (#47)
Browse files Browse the repository at this point in the history
* update xmlunit and not plexus-utils
  • Loading branch information
elharo authored Apr 12, 2020
1 parent 5735b09 commit 01b8db4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand All @@ -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 );
}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
<dependency>
<groupId>org.xmlunit</groupId>
<artifactId>xmlunit-core</artifactId>
<version>2.5.1</version>
<version>2.6.4</version>
</dependency>
</dependencies>
</dependencyManagement>
Expand Down

0 comments on commit 01b8db4

Please sign in to comment.