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:
Carlos Sanchez Gonzalez 2007-04-27 21:40:00 +00:00
parent a8dc22d0f1
commit d985970c2a
1 changed files with 3 additions and 1 deletions

View File

@ -44,7 +44,9 @@ public class MavenEmbedderBehaviorTest
MavenEmbedder maven = new MavenEmbedder( configuration ); 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(); maven.stop();
} }