1
0
forked from aniani/vim

patch 8.2.3518: Test_xrestore sometimes fails

Problem:    Test_xrestore sometimes fails.
Solution:   Mark the test as flayky.  Move marking test as flaky to the test
            instead of listing them in runtest.
This commit is contained in:
Bram Moolenaar
2021-10-16 13:00:14 +01:00
parent db3b44640d
commit f08b0eb869
16 changed files with 38 additions and 39 deletions

View File

@@ -289,6 +289,7 @@ endfunc
func Test_map_timeout_with_timer_interrupt()
CheckFeature job
CheckFeature timers
let g:test_is_flaky = 1
" Confirm the timer invoked in exit_cb of the job doesn't disturb mapped key
" sequence.
@@ -1155,7 +1156,7 @@ func Test_map_cmdkey_visual_mode()
call feedkeys("v\<F4>", 'xt!')
call assert_equal(['v', 1, 12], [mode(1), col('v'), col('.')])
" can invoke an opeartor, ending the visual mode
" can invoke an operator, ending the visual mode
let @a = ''
call feedkeys("\<F5>", 'xt!')
call assert_equal('n', mode(1))