From 0d8c144355343affdcad862a1408ed48ddbab8ae Mon Sep 17 00:00:00 2001 From: "sorokin.oleg.edu" Date: Sat, 12 Sep 2026 22:44:43 -0700 Subject: [PATCH] Use the union's source Undo message in the Escape regression --- .../src/app/source_symbols/tests/departure_selection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/oa-desktop/src/app/source_symbols/tests/departure_selection.rs b/crates/oa-desktop/src/app/source_symbols/tests/departure_selection.rs index 1709d891..0112759c 100644 --- a/crates/oa-desktop/src/app/source_symbols/tests/departure_selection.rs +++ b/crates/oa-desktop/src/app/source_symbols/tests/departure_selection.rs @@ -66,7 +66,7 @@ fn scoped_escape_retains_references_then_closes_them_without_losing_effective_se ); assert_eq!(app.source_editor.text(), expected); assert_eq!(app.source_workspace.text(), expected); - send(&mut app, Message::SourceUndo(false)); + send(&mut app, Message::SourceUndo); assert_eq!(app.source_workspace.bundle(), raw); assert!(Arc::ptr_eq(&accepted, &app.document.snapshot())); }