diff --git a/src/test/kotlin/com/beust/kobalt/maven/DownloadTest.kt b/src/test/kotlin/com/beust/kobalt/maven/DownloadTest.kt index 0fc8be3d..629c3482 100644 --- a/src/test/kotlin/com/beust/kobalt/maven/DownloadTest.kt +++ b/src/test/kotlin/com/beust/kobalt/maven/DownloadTest.kt @@ -146,16 +146,16 @@ class DownloadTest @Inject constructor( } } - @Test(enabled = false, description = "Not implemented yet") + @Test fun parentPomTest() { // Resolve com.squareup.retrofit2:converter-moshi:2.0.0 // This id has a parent pom which defines moshi version to be 1.1.0. Make sure that this // version is being fetched instead of moshi:1.2.0-SNAPSHOT (which gets discarded anyway // since snapshots are not allowed to be returned when looking up a versionless id) val host = HostConfig("http://repository.jetbrains.com/all/") - val id = "com.squareup.moshi:moshi:" + val id = "com.squareup.moshi:moshi:(0,]" val dr = aether.resolve(id) - println("DEP: " + dr) + Assert.assertEquals(dr.dependency.version, "1.1.0") } @Test