aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorThomas Buckley-Houston2021-12-10 14:16:50 +0000
committerThomas Buckley-Houston2021-12-10 14:53:52 +0000
commite79194233442e79e515c47c01573580fdf3690b7 (patch)
treee421e1433c9e55eacb514a5f66a48a4d6df0c81f /spec
parent8d581b2df5bac897e16ae2ad78cc146292312d42 (diff)
Update tests
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'