From 34cb8c2b22d9ef05f0835356e88bcec490887e96 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Wed, 4 May 2016 21:43:15 -0800 Subject: [PATCH] Test was file system dependent. --- src/test/kotlin/com/beust/kobalt/IncludeExcludeTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/kotlin/com/beust/kobalt/IncludeExcludeTest.kt b/src/test/kotlin/com/beust/kobalt/IncludeExcludeTest.kt index 343c05ef..d1473484 100644 --- a/src/test/kotlin/com/beust/kobalt/IncludeExcludeTest.kt +++ b/src/test/kotlin/com/beust/kobalt/IncludeExcludeTest.kt @@ -69,6 +69,6 @@ class IncludeExcludeTest : KobaltTest() { // println("FAILURE") // val files2 = g.toFiles(null, root.path, excludedSpec.map { Glob(it) }) // } - Assert.assertEquals(files.map { it.name }, expectedFiles) + Assert.assertEquals(files.map { it.name }.toHashSet(), expectedFiles.toHashSet()) } }