Add visual line mode operator tests

This commit is contained in:
Keith Simmons
2022-05-26 17:02:05 -07:00
parent 082036161f
commit 33940b5dd9
2 changed files with 165 additions and 1 deletions
+7 -1
View File
@@ -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
}
}