From f706d24045b5243386460119bbf7c1caa2c5cc37 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 30 Nov 2022 09:47:30 +0800 Subject: 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 --- src/nvim/testdir/test_retab.vim | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/nvim') 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 -- cgit