mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Test fix.
This commit is contained in:
parent
79d3d5faa5
commit
4a65177d34
1 changed files with 5 additions and 3 deletions
|
@ -99,10 +99,12 @@ public class DownloadTest @Inject constructor(
|
|||
|
||||
@Test
|
||||
public fun shouldFindLocalJarNoVersion() {
|
||||
MavenDependency.create("$idNoVersion$version")
|
||||
val dep = depFactory.create(idNoVersion, executor, localFirst = false)
|
||||
val dep = MavenDependency.create("$idNoVersion$version")
|
||||
val future = dep.jarFile
|
||||
val file = future.get()
|
||||
future.get().delete()
|
||||
|
||||
val dep2 = MavenDependency.create("$idNoVersion$version")
|
||||
val file = dep2.jarFile.get()
|
||||
Assert.assertNotNull(file)
|
||||
Assert.assertTrue(file.exists(), "Should find $file")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue