Fix tests with no neovim

This commit is contained in:
Conrad Irwin 2023-09-02 19:43:05 -06:00
parent af12977d17
commit 3a7b551e33

View File

@ -237,6 +237,9 @@ impl NeovimConnection {
#[cfg(not(feature = "neovim"))]
pub async fn set_option(&mut self, value: &str) {
if let Some(NeovimData::Get { .. }) = self.data.front() {
self.data.pop_front();
};
assert_eq!(
self.data.pop_front(),
Some(NeovimData::SetOption {