Test creating a new empty workspace and fix test compile errors
This commit is contained in:
@@ -264,6 +264,12 @@ impl TestAppContext {
|
||||
);
|
||||
}
|
||||
|
||||
pub fn dispatch_global_action<T: 'static + Any>(&self, name: &str, arg: T) {
|
||||
self.0
|
||||
.borrow_mut()
|
||||
.dispatch_global_action(name, arg);
|
||||
}
|
||||
|
||||
pub fn dispatch_keystroke(
|
||||
&self,
|
||||
window_id: usize,
|
||||
|
||||
Reference in New Issue
Block a user