aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/novim_mode_spec.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/novim_mode_spec.rb b/spec/novim_mode_spec.rb
index ce19704..1d0bc99 100644
--- a/spec/novim_mode_spec.rb
+++ b/spec/novim_mode_spec.rb
@@ -260,12 +260,10 @@ describe 'Pane control' do
end
specify 'closing a pane' do
- # Open Netrw file manager in a sidebar
- type '<M-;>Vexplore<CR>'
+ type '<M-;>vsplit README.md<CR>'
buffer_id = vim.command "echo bufnr('%')"
expect(buffer_id).to eq '2'
- # Close Netrw pane
type '<C-w>'
buffer_id = vim.command "echo bufnr('%')"
expect(buffer_id).to eq '1'