From 8fba228790fa0e2b9ebde1c67609d24e81472239 Mon Sep 17 00:00:00 2001 From: Daniel Chao Date: Thu, 10 Sep 2026 21:31:19 -0700 Subject: [PATCH] Fix failing test on Windows (#1858) --- .../src/test/kotlin/org/pkl/executor/ExecutorOptionsTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 15f2ffd0d..d5f2663fa 100644 --- a/pkl-executor/src/test/kotlin/org/pkl/executor/ExecutorOptionsTest.kt +++ b/pkl-executor/src/test/kotlin/org/pkl/executor/ExecutorOptionsTest.kt @@ -30,9 +30,9 @@ class ExecutorOptionsTest { val original = System.getProperty("user.home") try { System.setProperty("user.home", home.toString()) - assertThat(ExecutorOptions.defaultModuleCacheDir()) + assertThat(ExecutorOptions.defaultModuleCacheDir(home, false, mapOf())) .isEqualTo(home.resolve(".cache").resolve("pkl")) - assertThat(ExecutorOptions.defaultModuleCacheDir()) + assertThat(ExecutorOptions.defaultModuleCacheDir(home, false, mapOf())) .isEqualTo(IoUtils.getSystemModuleCacheDir()) } finally { System.setProperty("user.home", original)