mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-03 02:25:55 +00:00
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:
committed by
GitHub
parent
0cf4da606c
commit
9738861d61
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user