Mercurial > vim
diff src/testdir/test_bufline.vim @ 20178:2fb397573541
patch 8.2.0644: insufficient testing for invalid function arguments
Commit: https://github.com/vim/vim/commit/99fa721944dda9d07c53c907c33466728df5c271
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 26 15:59:55 2020 +0200
patch 8.2.0644: insufficient testing for invalid function arguments
Problem: Insufficient testing for invalid function arguments.
Solution: Add more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/5988)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 26 Apr 2020 16:00:04 +0200 |
parents | 16460964c304 |
children | 08940efa6b4e |
line wrap: on
line diff
--- a/src/testdir/test_bufline.vim +++ b/src/testdir/test_bufline.vim @@ -37,6 +37,7 @@ func Test_setbufline_getbufline() call assert_equal(['d'], getbufline(b, 4)) call assert_equal(['e'], getbufline(b, 5)) call assert_equal([], getbufline(b, 6)) + call assert_equal([], getbufline(b, 2, 1)) exe "bwipe! " . b endfunc