test: unwrap cmd transport argv · openclaw/openclaw@a0a91f8
shakkernerd
·
2026-05-13
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1696,12 +1696,8 @@ describe("handleSystemRunInvoke mac app exec host routing", () => {
|
1696 | 1696 | }, |
1697 | 1697 | }); |
1698 | 1698 | |
1699 | | -expect(seenArgv, testCase.name).toContainEqual([ |
1700 | | -"cmd.exe", |
1701 | | -"/d", |
1702 | | -"/s", |
1703 | | -"/c", |
1704 | | -`${scriptPath} --limit 5`, |
| 1699 | +expect(seenArgv, testCase.name).toEqual([ |
| 1700 | +["cmd.exe", "/d", "/s", "/c", `${scriptPath} --limit 5`], |
1705 | 1701 | ]); |
1706 | 1702 | expect(invoke.runCommand, testCase.name).not.toHaveBeenCalled(); |
1707 | 1703 | expectApprovalRequiredDenied({ |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。