diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-11-30 10:07:24 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-11-30 10:15:48 +0800 |
commit | 22622df950fe90abcaaf2e6710cd6cd9451cdc34 (patch) | |
tree | f99301f305306dcfa08db2bce4638f42449989aa /src/nvim/testdir | |
parent | e0c7b8955d0193ebbc7df703179ecb035f73fec7 (diff) | |
download | rneovim-22622df950fe90abcaaf2e6710cd6cd9451cdc34.tar.gz rneovim-22622df950fe90abcaaf2e6710cd6cd9451cdc34.tar.bz2 rneovim-22622df950fe90abcaaf2e6710cd6cd9451cdc34.zip |
vim-patch:8.2.5108: retab test disabled because it hangs on MS-Windows
Problem: Retab test disabled because it hangs on MS-Windows.
Solution: Also set got_int at the other place a overlong text is detected.
https://github.com/vim/vim/commit/308660bd263367a4f1a75498cbd2e29cade47f4d
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r-- | src/nvim/testdir/test_retab.vim | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/nvim/testdir/test_retab.vim b/src/nvim/testdir/test_retab.vim index 4253e77487..a4f95053c0 100644 --- a/src/nvim/testdir/test_retab.vim +++ b/src/nvim/testdir/test_retab.vim @@ -92,7 +92,7 @@ func RetabLoop() endfunc func Test_retab_endless() - " inside try/catch we catch the error message + " inside try/catch we can catch the error message call setline(1, "\t0\t") let caught = 'no' try @@ -106,13 +106,7 @@ func Test_retab_endless() endfunc func Test_nocatch_retab_endless() - " FIXME: why does this hang on MS-Windows? Is got_int reset somewhere? - if has('win32') - let g:skipped_reason = "does not work on MS-Windows" - return - endif - - " not inside try/catch an interrupt is generated to get out of loops + " when not inside try/catch an interrupt is generated to get out of loops call setline(1, "\t0\t") call assert_fails('call RetabLoop()', ['E1240:', 'Interrupted']) |