mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-11-28 08:06:16 +00:00
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:
co-authored by
Claude Opus 5.5
parent
41f9828eb4
commit
443ea155a1
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user