vim: ? to search backwards, and /<enter> to repeat search
This commit is contained in:
parent
d70f415e8e
commit
6cf13c62d1
5 changed files with 106 additions and 21 deletions
|
@ -90,6 +90,7 @@ impl<'a> VimTestContext<'a> {
|
|||
self.cx.set_state(text)
|
||||
}
|
||||
|
||||
#[track_caller]
|
||||
pub fn assert_state(&mut self, text: &str, mode: Mode) {
|
||||
self.assert_editor_state(text);
|
||||
assert_eq!(self.mode(), mode, "{}", self.assertion_context());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue