mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
Name the reordered documents so the menu trial sees the move
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
22dad4f071
commit
439b955cc6
1 file changed
+2
-2
@@ -158,8 +158,8 @@ fn the_held_menu_model_equals_a_fresh_build_after_each_step() {
|
||||
held_is_fresh(&mut h, "a save that renames the document");
|
||||
// Three documents, the first active: moving the second after the third keeps the active document where it was,
|
||||
// and the Window menu's second entry opens the other document now (#16252).
|
||||
for _ in 0..2 {
|
||||
h.state_mut().session.execute("file.new", json!({"width": 200, "height": 100})).unwrap();
|
||||
for name in ["Second", "Third"] {
|
||||
h.state_mut().session.execute("file.new", json!({"width": 200, "height": 100, "name": name})).unwrap();
|
||||
}
|
||||
h.state_mut().session.set_active(0);
|
||||
held_is_fresh(&mut h, "opening two more documents");
|
||||
|
||||
Reference in new issue
Block a user