Use the union's source Undo message in the Escape regression

This commit is contained in:
2026-09-12 22:44:43 -07:00
parent 7f2947d651
commit 0d8c144355
@@ -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()));
}