Fix tests with no neovim
This commit is contained in:
parent
af12977d17
commit
3a7b551e33
1 changed files with 3 additions and 0 deletions
|
@ -237,6 +237,9 @@ impl NeovimConnection {
|
||||||
|
|
||||||
#[cfg(not(feature = "neovim"))]
|
#[cfg(not(feature = "neovim"))]
|
||||||
pub async fn set_option(&mut self, value: &str) {
|
pub async fn set_option(&mut self, value: &str) {
|
||||||
|
if let Some(NeovimData::Get { .. }) = self.data.front() {
|
||||||
|
self.data.pop_front();
|
||||||
|
};
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
self.data.pop_front(),
|
self.data.pop_front(),
|
||||||
Some(NeovimData::SetOption {
|
Some(NeovimData::SetOption {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue