Moar tests
This commit is contained in:
parent
d1805d8ada
commit
4942b1962b
3 changed files with 486 additions and 482 deletions
|
@ -114,7 +114,6 @@ impl<D: PickerDelegate> Picker<D> {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn cancel(&mut self, _: &menu::Cancel, cx: &mut ViewContext<Self>) {
|
fn cancel(&mut self, _: &menu::Cancel, cx: &mut ViewContext<Self>) {
|
||||||
dbg!("picker cancel");
|
|
||||||
self.delegate.dismissed(cx);
|
self.delegate.dismissed(cx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -120,7 +120,8 @@ impl<'a> VimTestContext<'a> {
|
||||||
Vim::update(cx, |vim, cx| {
|
Vim::update(cx, |vim, cx| {
|
||||||
vim.switch_mode(mode, true, cx);
|
vim.switch_mode(mode, true, cx);
|
||||||
})
|
})
|
||||||
});
|
})
|
||||||
|
.unwrap();
|
||||||
self.cx.cx.cx.run_until_parked();
|
self.cx.cx.cx.run_until_parked();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue