Sketch drag: the crash test cleans up its folder like its neighbours (#10602)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
kaltenbrunnermarkus
2026-11-01 12:13:19 +00:00
committed by GitHub
parent 0cf4da606c
commit 9738861d61
+2 -1
View File
@@ -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) {