Mercurial > vim
diff src/testdir/test_mapping.vim @ 25969:a5a772dace5b v8.2.3518
patch 8.2.3518: Test_xrestore sometimes fails
Commit: https://github.com/vim/vim/commit/f08b0eb8691ff09f98bc4beef986ece1c521655f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 16 13:00:14 2021 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 16 Oct 2021 14:15:04 +0200 |
parents | 1186160ecf57 |
children | 3f209f13883d |
line wrap: on
line diff
--- a/src/testdir/test_mapping.vim +++ b/src/testdir/test_mapping.vim @@ -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))