Add visual line mode operator tests
This commit is contained in:
parent
082036161f
commit
33940b5dd9
2 changed files with 165 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
use std::ops::{Deref, Range};
|
||||
use std::ops::{Deref, DerefMut, Range};
|
||||
|
||||
use collections::BTreeMap;
|
||||
use itertools::{Either, Itertools};
|
||||
|
@ -404,3 +404,9 @@ impl<'a, const COUNT: usize> Deref for VimBindingTestContext<'a, COUNT> {
|
|||
&self.cx
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a, const COUNT: usize> DerefMut for VimBindingTestContext<'a, COUNT> {
|
||||
fn deref_mut(&mut self) -> &mut Self::Target {
|
||||
&mut self.cx
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue