mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-02 19:45:51 +01:00
Remove redundant checks
This commit is contained in:
@@ -110,6 +110,5 @@ public class GitRepositoryHandlerTest extends SimpleRepositoryHandlerTestBase {
|
|||||||
|
|
||||||
File path = repositoryHandler.getDirectory(repository);
|
File path = repositoryHandler.getDirectory(repository);
|
||||||
assertEquals("/path/id", path.getAbsolutePath());
|
assertEquals("/path/id", path.getAbsolutePath());
|
||||||
assertTrue(path.getAbsolutePath().endsWith("id"));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -105,6 +105,5 @@ public class HgRepositoryHandlerTest extends SimpleRepositoryHandlerTestBase {
|
|||||||
|
|
||||||
File path = repositoryHandler.getDirectory(repository);
|
File path = repositoryHandler.getDirectory(repository);
|
||||||
assertEquals("/path/id", path.getAbsolutePath());
|
assertEquals("/path/id", path.getAbsolutePath());
|
||||||
assertTrue(path.getAbsolutePath().endsWith("id"));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -117,6 +117,5 @@ public class SvnRepositoryHandlerTest extends SimpleRepositoryHandlerTestBase {
|
|||||||
|
|
||||||
File path = repositoryHandler.getDirectory(repository);
|
File path = repositoryHandler.getDirectory(repository);
|
||||||
assertEquals("/path/id", path.getAbsolutePath());
|
assertEquals("/path/id", path.getAbsolutePath());
|
||||||
assertTrue(path.getAbsolutePath().endsWith("id"));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user