Fix CI on Windows (#1861)

Fix bad assertion: `IoUtils.getSystemModuleCacheDir()` uses the actual
OS env, but the test hard-codes `isWindows` to false.
This commit is contained in:
Daniel Chao
2026-09-11 11:09:37 -07:00
committed by GitHub
parent 8fba228790
commit 9b52a4fd82
@@ -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)