mirror of
https://github.com/vim/vim.git
synced 2025-10-04 05:25:06 -04:00
patch 8.2.0619: null dict is not handled like an empty dict
Problem: Null dict is not handled like an empty dict. Solution: Fix the code and add tests. (Yegappan Lakshmanan, closes #5968)
This commit is contained in:
@@ -207,6 +207,7 @@ func Test_blob_add()
|
||||
call assert_equal(0z001122, b)
|
||||
call add(b, '51')
|
||||
call assert_equal(0z00112233, b)
|
||||
call assert_equal(1, add(test_null_blob(), 0x22))
|
||||
|
||||
call assert_fails('call add(b, [9])', 'E745:')
|
||||
call assert_fails('call add("", 0x01)', 'E897:')
|
||||
|
Reference in New Issue
Block a user