mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
test(review): assert originals keep their group in the paired copy-drag test (#11217)
This commit is contained in:
1 parent
91189d9244
commit
f1419f6d87
1 file changed
+1
@@ -1506,6 +1506,7 @@ fn copy_dragging_linked_layers_relinks_the_copies() {
|
||||
assert_eq!(copies.len(), 2);
|
||||
let fresh = link_group(&s, copies[0]);
|
||||
assert!(fresh.is_some() && fresh != group && link_group(&s, copies[1]) == fresh, "the copied pair is linked to each other under a fresh group");
|
||||
assert_eq!((link_group(&s, a), link_group(&s, b)), (group, group), "the originals keep their links");
|
||||
}
|
||||
|
||||
/// #11217 review: copies of a linked pair stay linked to each other under a new group, not the
|
||||
|
||||
Reference in new issue
Block a user