From 7e6c68c68933b2e14be8e367fbbe4a2f4b36d146 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Fri, 7 Apr 2017 15:19:17 -0700 Subject: [PATCH] Fix test. --- src/test/kotlin/com/beust/kobalt/maven/DownloadTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/kotlin/com/beust/kobalt/maven/DownloadTest.kt b/src/test/kotlin/com/beust/kobalt/maven/DownloadTest.kt index 27e64886..5d501689 100644 --- a/src/test/kotlin/com/beust/kobalt/maven/DownloadTest.kt +++ b/src/test/kotlin/com/beust/kobalt/maven/DownloadTest.kt @@ -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