1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Test fix.

This commit is contained in:
Cedric Beust 2016-05-01 13:36:03 -07:00
parent b465b52ac9
commit 5799af8e37

View file

@ -152,7 +152,7 @@ class DownloadTest @Inject constructor(
// version is being fetched instead of moshi:1.2.0-SNAPSHOT (which gets discarded anyway // 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) // since snapshots are not allowed to be returned when looking up a versionless id)
val host = HostConfig("http://repository.jetbrains.com/all/") val host = HostConfig("http://repository.jetbrains.com/all/")
val id = "com.squareup.moshi:moshi:(0,]" val id = "com.squareup.moshi:moshi:1.1.0"
val dr = aether.resolve(id) val dr = aether.resolve(id)
Assert.assertEquals(dr.dependency.version, "1.1.0") Assert.assertEquals(dr.dependency.version, "1.1.0")
} }