void () { cd(myChildRepo); updateRepoConfig(myProject, myChildRepo); final String defaultPath = HgUtil.getRepositoryDefaultPath(myProject, myChildRepo); assertNotNull(defaultPath); assertEquals(myRepository.getPath(), FileUtil.toSystemIndependentName(defaultPath)); }