0
0
mirror of https://github.com/vim/vim.git synced 2025-10-04 05:25:06 -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:
Bram Moolenaar
2020-04-24 22:47:31 +02:00
parent 92c461ef1b
commit 9d8d0b5c64
14 changed files with 114 additions and 4 deletions

View File

@@ -142,6 +142,7 @@ func Test_blob_compare()
let b2 = b1[:]
call assert_true(b1 == b2)
call assert_false(b1 is b2)
call assert_true(b1 isnot b2)
call assert_fails('let x = b1 > b2')
call assert_fails('let x = b1 < b2')