test: tighten skill archive layout assertion · openclaw/openclaw@8ffb756
openclaw
·
2026-05-11
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -55,9 +55,9 @@ async function expectFlatRootMarkerRejected(params: {
|
55 | 55 | onExtracted: async () => ({ ok: true as const }), |
56 | 56 | }); |
57 | 57 | |
58 | | -expect(result).toMatchObject({ |
| 58 | +expect(result).toEqual({ |
59 | 59 | ok: false, |
60 | | -error: expect.stringContaining("unexpected archive layout"), |
| 60 | +error: "Error: unexpected archive layout (dirs: )", |
61 | 61 | }); |
62 | 62 | } |
63 | 63 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。