mirror of https://github.com/apache/maven.git
Fix failing test in cygwin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@533235 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a8dc22d0f1
commit
d985970c2a
|
@ -44,7 +44,9 @@ public class MavenEmbedderBehaviorTest
|
|||
|
||||
MavenEmbedder maven = new MavenEmbedder( configuration );
|
||||
|
||||
assertEquals( (new File("/global/maven/local-repository")).getAbsolutePath(), maven.getLocalRepository().getBasedir() );
|
||||
String expectedPath = ( new File( "/global/maven/local-repository" ) ).getCanonicalPath();
|
||||
String actualPath = maven.getLocalRepository().getBasedir();
|
||||
assertEquals( expectedPath, actualPath );
|
||||
|
||||
maven.stop();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue