Hg config test for windows fixed

This commit is contained in:
Nadya Zabrodina
2013-07-03 13:27:40 +04:00
parent 38a5ac33f2
commit acc3da82d7
@@ -23,7 +23,10 @@ public class HgConfigTest extends HgPlatformTest {
public void testDefaultPathInClonedRepo() {
cd(myChildRepo);
assertEquals(myRepository.getCanonicalPath(), HgUtil.getRepositoryDefaultPath(myProject, myChildRepo));
final String defaultPath = HgUtil.getRepositoryDefaultPath(myProject, myChildRepo);
assertNotNull(defaultPath);
assertEquals(myRepository.getCanonicalPath(),
FileUtil.toSystemIndependentName(defaultPath));
}
public void testLargeExtensionInClonedRepo() {