mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
Fix test-module attributes from prior insertion (dup #[test]; restore cut_clears)
Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
1 parent
5442398a91
commit
a0eff27619
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user