fix(cli): accept Windows separators in strict-folder-boundaries test (#12689)

The stale-items listing prints native path separators, so on Windows the
output reads f\panel\edited and the assertion for f/panel/edited failed.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ruben Fiszel
2026-11-26 21:42:53 +01:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 41f9828eb4
commit 443ea155a1
+1 -1
View File
@@ -635,7 +635,7 @@ describe("generate-metadata folder argument", () => {
);
expect(result.code).toEqual(0);
expect(result.stdout + result.stderr).toContain("f/panel/edited");
expect((result.stdout + result.stderr).replaceAll("\\", "/")).toContain("f/panel/edited");
await expect(stat(`${tempDir}/f/starbase/bare.script.yaml`)).rejects.toThrow();
await expect(stat(`${tempDir}/f/starbase/bare.script.lock`)).rejects.toThrow();
const lockfile = await readFile(`${tempDir}/wmill-lock.yaml`, "utf-8");