mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.0633: crash when using null partial in filter()
Problem: Crash when using null partial in filter(). Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes #5976)
This commit is contained in:
@@ -1239,6 +1239,8 @@ func Test_col()
|
||||
call assert_equal(0, col([2, '$']))
|
||||
call assert_equal(0, col([1, 100]))
|
||||
call assert_equal(0, col([1]))
|
||||
call assert_equal(0, col(test_null_list()))
|
||||
call assert_fails('let c = col({})', 'E731:')
|
||||
|
||||
" test for getting the visual start column
|
||||
func T()
|
||||
|
Reference in New Issue
Block a user