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

Fix test.

This commit is contained in:
Cedric Beust 2017-04-07 15:19:17 -07:00
parent 40ab79456b
commit 7e6c68c689

View file

@ -153,7 +153,7 @@ class DownloadTest @Inject constructor(
// since snapshots are not allowed to be returned when looking up a versionless id)
val id = "com.squareup.moshi:moshi:1.1.0"
val artifact = resolver.resolveToArtifact(id)
assertThat(artifact.version).isEqualTo("1.1.0")
assertThat(artifact.version.toString()).isEqualTo("1.1.0")
}
@Test