diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2023-06-15 08:05:26 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-15 08:05:26 +0800 |
| commit | 78d77c03de579845fcaa761e7339c93fcd74efb2 (patch) | |
| tree | 07372ce021e0aa7499f56d47a4391326aae05fe8 /test/old/testdir/test_vimscript.vim | |
| parent | cf6cffda89ad0b22de0ddd4ca7abcb714da812d0 (diff) | |
| download | rneovim-78d77c03de579845fcaa761e7339c93fcd74efb2.tar.gz rneovim-78d77c03de579845fcaa761e7339c93fcd74efb2.tar.bz2 rneovim-78d77c03de579845fcaa761e7339c93fcd74efb2.zip | |
vim-patch:9.0.1631: passing wrong variable type to option gives multiple errors (#24026)
Problem: Passing a wrong variable type to an option gives multiple errors.
Solution: Bail out early on failure. (closes vim/vim#12504)
https://github.com/vim/vim/commit/4c7cb372c17a84c8a35254d93eb37cb854cd39da
Diffstat (limited to 'test/old/testdir/test_vimscript.vim')
| -rw-r--r-- | test/old/testdir/test_vimscript.vim | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/old/testdir/test_vimscript.vim b/test/old/testdir/test_vimscript.vim index 598b359f1f..62487ae5d5 100644 --- a/test/old/testdir/test_vimscript.vim +++ b/test/old/testdir/test_vimscript.vim @@ -6997,10 +6997,7 @@ func Test_compound_assignment_operators() call assert_equal(6, &scrolljump) let &scrolljump %= 5 call assert_equal(1, &scrolljump) - " A different error is shown due to a change in implementation of option - " values. - " call assert_fails('let &scrolljump .= "j"', 'E734:') - call assert_fails('let &scrolljump .= "j"', 'E521:') + call assert_fails('let &scrolljump .= "j"', ['E734:', 'E734:']) set scrolljump&vim let &foldlevelstart = 2 |