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

Fix test.

This commit is contained in:
Cedric Beust 2016-02-27 10:47:58 -08:00
parent 229120501a
commit 0e882c44c1

View file

@ -19,7 +19,9 @@ class RemoteRepoTest @Inject constructor(val repoFinder: RepoFinder,
val dep = MavenDependency.create("org.codehaus.groovy:groovy-all:") val dep = MavenDependency.create("org.codehaus.groovy:groovy-all:")
// Note: this test might fail if a new version of Groovy gets uploaded, need // Note: this test might fail if a new version of Groovy gets uploaded, need
// to find a stable (i.e. abandoned) package // to find a stable (i.e. abandoned) package
Assert.assertEquals(dep.id.split(":")[2], "2.4.5") with(dep.id.split(":")[2]) {
Assert.assertTrue(this == "2.4.5" || this == "2.4.6")
}
} }
@Test(enabled = false) @Test(enabled = false)