mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Test parent pom.
This commit is contained in:
parent
bf66a44052
commit
16f4452dde
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue