mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-08 03:23:11 +00:00
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:
1 parent
13d64351fc
commit
67401dae97
1 file changed
+1
-1
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user