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

Fix tests for Windows.

This commit is contained in:
Cedric Beust 2016-07-25 19:57:33 -07:00
parent 86bd209b8c
commit 85deb1bca7

View file

@ -43,7 +43,7 @@ class ContextTest @Inject constructor(override val aether: KobaltAether): BaseTe
@Test(description = "Test KobaltContext#fileForId for the OTHER file type") @Test(description = "Test KobaltContext#fileForId for the OTHER file type")
fun fileForIdOther() { fun fileForIdOther() {
runTest("io.reactivex:rxandroid:aar:1.0.1", KobaltContext.FileType.OTHER, runTest("io.reactivex:rxandroid:aar:1.0.1", KobaltContext.FileType.OTHER,
expected = listOf(REPO_PATH, "io/reactivex/rxandroid/1.0.1/rxandroid-1.0.1.aar") expected = listOf(REPO_PATH, File("io/reactivex/rxandroid/1.0.1/rxandroid-1.0.1.aar").path)
.joinToString(File.separator)) .joinToString(File.separator))
} }
} }