From 67401dae9746a2c1cc74fa3b3249feb5c6432e7e Mon Sep 17 00:00:00 2001 From: aiongg Date: Fri, 16 Oct 2026 03:33:48 +0000 Subject: [PATCH] Integration: MCP roots test expects file.save to add the document extension next's file.save names the file with the .designcraft extension; main's test looked for the path as given. --- crates/mcp/tests/automation_roots.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/mcp/tests/automation_roots.rs b/crates/mcp/tests/automation_roots.rs index 87ce411e8..1d41d96da 100644 --- a/crates/mcp/tests/automation_roots.rs +++ b/crates/mcp/tests/automation_roots.rs @@ -277,7 +277,7 @@ fn every_writing_command_is_refused_outside_the_write_root() { ok(&mut server, tool, json!({"path": inside(&format!("{tool}.png"))})); assert!(base.join("out").join(format!("{tool}.png")).exists(), "{tool}"); } - for file in ["out-file.save", "out-file.exportPdf", "out-file.exportIdml", "out-book.exportPdf", "out-swatch.save", "out-snippet.export"] { + for file in ["out-file.save.designcraft", "out-file.exportPdf", "out-file.exportIdml", "out-book.exportPdf", "out-swatch.save", "out-snippet.export"] { assert!(base.join("out").join(file).exists(), "{file}"); } assert!(base.join("out/dir-file.package/Instructions.txt").exists() && base.join("out/dir-links.copyTo/pic.png").exists());