From 85deb1bca7d5afcb6401de9a4535bddeee7238e9 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Mon, 25 Jul 2016 19:57:33 -0700 Subject: [PATCH] Fix tests for Windows. --- src/test/kotlin/com/beust/kobalt/ContextTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/kotlin/com/beust/kobalt/ContextTest.kt b/src/test/kotlin/com/beust/kobalt/ContextTest.kt index 2d75df9c..7f0a1a93 100644 --- a/src/test/kotlin/com/beust/kobalt/ContextTest.kt +++ b/src/test/kotlin/com/beust/kobalt/ContextTest.kt @@ -43,7 +43,7 @@ class ContextTest @Inject constructor(override val aether: KobaltAether): BaseTe @Test(description = "Test KobaltContext#fileForId for the OTHER file type") fun fileForIdOther() { 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)) } }