Skip to content

Commit ea84794

Browse files
test(claws): align symlink escape diagnostic
1 parent 0ab44de commit ea84794

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/claws/workspace.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ describe("createClawWorkspaceFiles", () => {
202202
action.source = join(root, "content-link", "AGENTS.md");
203203

204204
await expect(createClawWorkspaceFiles(plan, { env: stateEnv(root) })).rejects.toMatchObject({
205-
diagnostics: [expect.objectContaining({ code: "workspace_file_path_alias" })],
205+
diagnostics: [expect.objectContaining({ code: "workspace_file_path_escape" })],
206206
});
207207
await expect(readFile(join(workspace, "AGENTS.md"), "utf8")).rejects.toThrow();
208208
},

0 commit comments

Comments
 (0)