test(scripts): normalize agent shard path separators · openclaw/openclaw@ca360d3
vincentkoc
·
2026-06-22
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -834,7 +834,7 @@ describe("scripts/lib/ci-node-test-plan.mjs", () => {
|
834 | 834 | .flatMap((shard) => shard.includePatterns ?? []) |
835 | 835 | .toSorted((a, b) => a.localeCompare(b)); |
836 | 836 | const expected = listTestFiles("src/agents") |
837 | | -.filter((file) => !relative("src/agents", file).includes("/")) |
| 837 | +.filter((file) => !relative("src/agents", file).replaceAll("\\", "/").includes("/")) |
838 | 838 | .toSorted((a, b) => a.localeCompare(b)); |
839 | 839 | |
840 | 840 | expect(actual).toEqual(expected); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。