Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: harden/fix closing/counting of windows #727

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions test/workflow.vader
Original file line number Diff line number Diff line change
Expand Up @@ -689,9 +689,12 @@ Execute (PlugUpdate still should not care):
Execute (PlugStatus with no error):
PlugStatus
Log getline(1, '$')
AssertExpect 'x fzf', 0
AssertExpect 'Not found', 0
q
try
AssertExpect 'x fzf', 0
AssertExpect 'Not found', 0
finally
q
endtry

Execute (Check &rtp after SomeCommand):
Log &rtp
Expand Down Expand Up @@ -1606,6 +1609,8 @@ Execute (#530 - Comparison of incompatible git URIs):
Assert !CompareURI('https://github.com/junegunn/vim-plug.git', 'https://github.com:12345/junegunn/vim-plug.git')

Execute (#532 - Reuse plug window):
AssertEqual 1, winnr('$'), 'Starts with 1 window'

call plug#begin()
Plug 'junegunn/goyo.vim'
call plug#end()
Expand Down