diff --git a/build.gradle.kts b/build.gradle.kts index 6685440..2ec2144 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -69,10 +69,6 @@ dependencies { testImplementation("junit:junit:4.12") } -configurations.all { - resolutionStrategy.cacheDynamicVersionsFor(5, "minutes") -} - //This exists so options can be set for test compile and compile at once val kOptions = {obj: GroovyObject -> diff --git a/src/test/kotlin/ley/anvil/modpacktools/util/UtilTest.kt b/src/test/kotlin/ley/anvil/modpacktools/util/UtilTest.kt index 3eecce4..3651441 100644 --- a/src/test/kotlin/ley/anvil/modpacktools/util/UtilTest.kt +++ b/src/test/kotlin/ley/anvil/modpacktools/util/UtilTest.kt @@ -3,15 +3,12 @@ package ley.anvil.modpacktools.util import org.junit.Assert.assertEquals import org.junit.Test import org.junit.rules.TemporaryFolder -import java.io.File import java.net.URL class UtilTest { @Test - fun sanitize() = assertEquals(URL("https://example.com/test%20test"), URL("https://example.com/test test").sanitize()) - - @Test - fun mergeTo() = assertEquals(File("testing/dir"), File("testing") mergeTo File("dir")) + fun sanitize() = + assertEquals(URL("https://example.com/test%20test"), URL("https://example.com/test test").sanitize()) @Test fun readAsJson() {