diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-11-30 09:47:30 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-11-30 09:47:53 +0800 |
commit | f706d24045b5243386460119bbf7c1caa2c5cc37 (patch) | |
tree | 16c5310e6ad253de25ec18a0aed8908b3ed5d69c | |
parent | ec52658af7984188d0d4c77045f629d647d5cf37 (diff) | |
download | rneovim-f706d24045b5243386460119bbf7c1caa2c5cc37.tar.gz rneovim-f706d24045b5243386460119bbf7c1caa2c5cc37.tar.bz2 rneovim-f706d24045b5243386460119bbf7c1caa2c5cc37.zip |
vim-patch:8.2.5082: retab test fails
Problem: Retab test fails.
Solution: Disable the test for now.
https://github.com/vim/vim/commit/93974239857318fe604e53abd41ffead04b7c657
Co-authored-by: Bram Moolenaar <Bram@vim.org>
-rw-r--r-- | src/nvim/testdir/test_retab.vim | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/nvim/testdir/test_retab.vim b/src/nvim/testdir/test_retab.vim index 1650a03876..c08c226937 100644 --- a/src/nvim/testdir/test_retab.vim +++ b/src/nvim/testdir/test_retab.vim @@ -81,7 +81,8 @@ func Test_retab_error() call assert_fails('ret 80000000000000000000', 'E475:') endfunc -func Test_retab_endless() +" FIXME: the try/catch does not catch the interrupt +func FIXME_Test_retab_endless() new call setline(1, "\t0\t") let caught = 'no' @@ -90,9 +91,10 @@ func Test_retab_endless() set ts=4000 retab 4 endwhile - catch /E1240/ - let caught = 'yes' + catch + let caught = v:exception endtry + call assert_notequal('no', caught) bwipe! set tabstop& endfunc |