1
0
forked from aniani/vim

patch 8.2.1783: try-catch test fails

Problem:    Try-catch test fails.
Solution:   Don't call win_enter(), only call enterering_window().
This commit is contained in:
Bram Moolenaar
2020-10-01 22:37:40 +02:00
parent 74273e6691
commit bdf931c25b
5 changed files with 16 additions and 4 deletions

View File

@@ -227,7 +227,12 @@ func RunTheTest(test)
" Close any extra tab pages and windows and make the current one not modified.
while tabpagenr('$') > 1
let winid = win_getid()
quit!
if winid == win_getid()
echoerr 'Could not quit window'
break
endif
endwhile
while 1