diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-11-05 12:41:36 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-11-05 12:45:43 +0800 |
commit | 02f80d9a8a560a93142bcebf324ba14cde4dd1b5 (patch) | |
tree | 3a581c5518bdd20b09a70afa944b3325c96fe824 /src/nvim/eval.lua | |
parent | 8ba7a966a1339767b19a5ca4449b38ef0cae49c7 (diff) | |
download | rneovim-02f80d9a8a560a93142bcebf324ba14cde4dd1b5.tar.gz rneovim-02f80d9a8a560a93142bcebf324ba14cde4dd1b5.tar.bz2 rneovim-02f80d9a8a560a93142bcebf324ba14cde4dd1b5.zip |
vim-patch:8.2.1631: test_fails() does not check the context of the line number
Problem: test_fails() does not check the context of the line number.
Solution: Use another argument to specify the context of the line number.
https://github.com/vim/vim/commit/9bd5d879c2ecfbdbb168b090e12f4b89724a302e
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/eval.lua')
-rw-r--r-- | src/nvim/eval.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index 5952267c02..61e7f99afd 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -38,7 +38,7 @@ return { assert_equal={args={2, 3}, base=2}, assert_equalfile={args={2, 3}, base=1}, assert_exception={args={1, 2}}, - assert_fails={args={1, 4}, base=1}, + assert_fails={args={1, 5}, base=1}, assert_false={args={1, 2}, base=1}, assert_inrange={args={3, 4}, base=3}, assert_match={args={2, 3}, base=2}, |