From a0eff2761911b4ff007797ab9f48ffc7a83bb2c4 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Sat, 3 Oct 2026 10:32:40 -0400 Subject: [PATCH] Fix test-module attributes from prior insertion (dup #[test]; restore cut_clears) Co-Authored-By: Claude Opus 4.8 --- crates/engine/src/edit_cmds.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/engine/src/edit_cmds.rs b/crates/engine/src/edit_cmds.rs index 3a13ad564f..253b81f7c2 100644 --- a/crates/engine/src/edit_cmds.rs +++ b/crates/engine/src/edit_cmds.rs @@ -453,7 +453,6 @@ mod tests { assert_eq!(s.active().unwrap().doc.layers.len(), 4); } - #[test] #[test] fn copy_paste_between_documents() { // Copy in one tab, paste into another: the clipboard is shared across documents. @@ -503,6 +502,7 @@ mod tests { assert!((cb.width() as i32 - 80).abs() <= 3 && (cb.height() as i32 - 40).abs() <= 3, "size ~ 80x40: {cb:?}"); } + #[test] fn cut_clears_and_layer_via_copy_cut() { let mut s = session(); s.execute("select.rect", json!({"x": 10, "y": 10, "width": 10, "height": 20})).unwrap();