fix pasting at the end of the line in normal mode
This commit is contained in:
parent
ed52f8a8a3
commit
ee007f901a
4 changed files with 207 additions and 39 deletions
|
@ -125,6 +125,11 @@ impl<'a> VimTestContext<'a> {
|
|||
self.cx.set_state(text);
|
||||
}
|
||||
|
||||
pub fn assert_state(&mut self, text: &str, mode: Mode) {
|
||||
self.assert_editor_state(text);
|
||||
assert_eq!(self.mode(), mode);
|
||||
}
|
||||
|
||||
pub fn assert_binding<const COUNT: usize>(
|
||||
&mut self,
|
||||
keystrokes: [&str; COUNT],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue