test: capsize tool location traversal · openclaw/openclaw@f634799
shakkernerd
·
2026-05-13
·
via Recent Commits to openclaw:main
Commit f634799
test: capsize tool location traversal
1 file changed
Lines changed: 1 addition & 2 deletions
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|
@@ -14,7 +14,6 @@ describe("extractToolCallLocations", () => {
|
14 | 14 | if (locations === undefined) { |
15 | 15 | throw new Error("expected bounded tool-call locations"); |
16 | 16 | } |
17 | | -expect(locations.length).toBeLessThan(20); |
18 | | -expect(locations).not.toContainEqual({ path: "/tmp/file-19.txt" }); |
| 17 | +expect(locations).toEqual([{ path: "/tmp/file-0.txt" }, { path: "/tmp/file-1.txt" }]); |
19 | 18 | }); |
20 | 19 | }); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
0 commit comments
Comments
(0)