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.
This commit is contained in:
aiongg
2026-10-16 03:33:48 +00:00
parent 13d64351fc
commit 67401dae97
+1 -1
View File
@@ -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());