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:
Nikolay Krasko
2021-10-05 15:55:59 +03:00
parent 31e30dc852
commit 824c227d81
@@ -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 {