diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-11-17 17:34:13 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-17 17:34:13 +0800 |
| commit | 98bcf49d2692af1f2c21f6d10fd056855d4ea238 (patch) | |
| tree | c3eed45d3e16f3da4ed3bee0a41a7819bd74f7b8 /src/nvim/testdir/test_buffer.vim | |
| parent | 488e99311f70e4a90919c06c37882870e3ba05ac (diff) | |
| download | rneovim-98bcf49d2692af1f2c21f6d10fd056855d4ea238.tar.gz rneovim-98bcf49d2692af1f2c21f6d10fd056855d4ea238.tar.bz2 rneovim-98bcf49d2692af1f2c21f6d10fd056855d4ea238.zip | |
vim-patch:8.2.1260: there is no good test for CursorHold (#21086)
Problem: There is no good test for CursorHold.
Solution: Add a test. Remove duplicated test. (Yegappan Lakshmanan,
closes vim/vim#6503
https://github.com/vim/vim/commit/7591116acffc45b5880c49244646651badac1629
Diffstat (limited to 'src/nvim/testdir/test_buffer.vim')
| -rw-r--r-- | src/nvim/testdir/test_buffer.vim | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/nvim/testdir/test_buffer.vim b/src/nvim/testdir/test_buffer.vim index 3300278802..549aa691c8 100644 --- a/src/nvim/testdir/test_buffer.vim +++ b/src/nvim/testdir/test_buffer.vim @@ -67,15 +67,6 @@ func Test_bunload_with_offset() call assert_fails('1,4bunload', 'E16:') call assert_fails(',100bunload', 'E16:') - " Use a try-catch for this test. When assert_fails() is used for this - " test, the command fails with E515: instead of E90: - let caught_E90 = 0 - try - $bunload - catch /E90:/ - let caught_E90 = 1 - endtry - call assert_equal(1, caught_E90) call assert_fails('$bunload', 'E90:') endfunc |