Skip to content

Commit 5407552

Browse files
committed
Fix unit test failures
1 parent e3ac594 commit 5407552

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/test_exit_only_window.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ augroup END
1414

1515
Tlist
1616
close
17+
sleep 50m
1718

1819
call writefile(['Test_Tlist_Exit_OnlyWindow: FAIL'], 'test.log', 'a')
1920
augroup TaglistTest

test/unit_tests.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1909,6 +1909,7 @@ func Test_Tlist_Exit_OnlyWindow_tabpage()
19091909
Tlist
19101910
call assert_equal([2, 2], [tabpagenr(), winnr()])
19111911
close
1912+
sleep 50m
19121913
call assert_equal([1, 2], [tabpagenr(), winnr()])
19131914
TlistClose
19141915
let g:Tlist_Exit_OnlyWindow=0

0 commit comments

Comments
 (0)