Use the union's source Undo message in the Escape regression
This commit is contained in:
@@ -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()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user