SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.
Sketch drag: the crash test cleans up its folder like its neighbours (#10602)
kaltenbrunnermarkus9738861d61d4
diff --git a/crates/engine/src/crash_tests.rs b/crates/engine/src/crash_tests.rsindex 9be4e06092..7b077e955c 100644--- a/crates/engine/src/crash_tests.rs+++ b/crates/engine/src/crash_tests.rs@@ -237,9 +237,10 @@ fn a_read_only_command_keeps_the_replay_after_body_names_are_pinned() {#[test]fn live_sketch_drag_frames_keep_the_replay() {- let directory = std::env::temp_dir().join(format!("solidcraft-crash-test-sketch-drag-{}", std::process::id()));+ let directory = fresh_dir("sketch-drag");let (output, ok) = run_child(&directory, "sketch_drag");assert!(ok && output.contains("SKETCH_DRAG_JOURNAL_OK"), "{output}");+ let _ = fs::remove_dir_all(directory);}fn only_report(dir: &Path) -> (Summary, Value) {