Stop removing libraries from local maven in MavenResolverTest
While it's a good practice to remove all files that were downloaded during the test execution, here we delete files in common directory without checking that files were not present before test start. This might be dangerous as we might fail other tests and programs. As we manipulate common maven directory it's better to leave downloaded files untouched
This commit is contained in:
-1
@@ -42,7 +42,6 @@ class MavenResolverTest : ResolversTestBase() {
|
||||
if (!checkBody(files)) {
|
||||
Assert.fail("Unexpected resolving results:\n ${files.joinToString("\n ")}")
|
||||
}
|
||||
files.forEach { it.delete() }
|
||||
}
|
||||
|
||||
private fun buildOptions(vararg options: Pair<DependenciesResolverOptionsName, String>): ExternalDependenciesResolver.Options {
|
||||
|
||||
Reference in New Issue
Block a user