mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Fix test.
This commit is contained in:
parent
229120501a
commit
0e882c44c1
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue