From 9b52a4fd825b74acde7e7c426f2fcf0686bd6787 Mon Sep 17 00:00:00 2001 From: Daniel Chao Date: Fri, 11 Sep 2026 11:09:37 -0700 Subject: [PATCH] Fix CI on Windows (#1861) Fix bad assertion: `IoUtils.getSystemModuleCacheDir()` uses the actual OS env, but the test hard-codes `isWindows` to false. --- .../src/test/kotlin/org/pkl/executor/ExecutorOptionsTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkl-executor/src/test/kotlin/org/pkl/executor/ExecutorOptionsTest.kt b/pkl-executor/src/test/kotlin/org/pkl/executor/ExecutorOptionsTest.kt index d5f2663fa..ee6a988cd 100644 --- a/pkl-executor/src/test/kotlin/org/pkl/executor/ExecutorOptionsTest.kt +++ b/pkl-executor/src/test/kotlin/org/pkl/executor/ExecutorOptionsTest.kt @@ -32,7 +32,7 @@ class ExecutorOptionsTest { System.setProperty("user.home", home.toString()) assertThat(ExecutorOptions.defaultModuleCacheDir(home, false, mapOf())) .isEqualTo(home.resolve(".cache").resolve("pkl")) - assertThat(ExecutorOptions.defaultModuleCacheDir(home, false, mapOf())) + assertThat(ExecutorOptions.defaultModuleCacheDir()) .isEqualTo(IoUtils.getSystemModuleCacheDir()) } finally { System.setProperty("user.home", original)