Fix tests with no neovim

Conrad Irwin created

Change summary

crates/vim/src/test/neovim_connection.rs | 3 +++
1 file changed, 3 insertions(+)

Detailed changes

crates/vim/src/test/neovim_connection.rs 🔗

@@ -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 {