Batch fix-up: #10438's zoomed-out nudge test expects "Nudge"

Main's #11383 renamed an arrow-key run's History step to "Nudge", as the reference
application names it; #10438's new zoomed-out test still expected "Move".

Co-Authored-By: hectorviov <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
committed 2026-11-06 15:10:15 +01:00
1 parent 0b765b2fbe
commit 0217be25b4
1 file changed
+1 -1
+1 -1
View File
@@ -350,7 +350,7 @@ fn a_run_of_arrow_nudges_is_one_history_step_zoomed_out() {
assert!(press_at(&mut app, egui::Key::ArrowDown, egui::Modifiers::SHIFT, 7.6));
assert_eq!(bounds(&app, id), photocraft_geom::Rect::new(32, 18, 48, 34));
assert_eq!(history(&app), h0 + 1, "thirteen presses, one state");
assert_eq!(app.session.active().unwrap().history.undo_label(), Some("Move"));
assert_eq!(app.session.active().unwrap().history.undo_label(), Some("Nudge"));
assert!(app.session.undo());
assert_eq!(bounds(&app, id), photocraft_geom::Rect::new(8, 8, 24, 24), "one Undo takes back the run");
assert!(app.session.redo());