mirror of
https://github.com/neovim/neovim.git
synced 2025-10-10 03:46:31 +00:00
fix(f_insert): partially port v8.2.0634
Fixes a crash in f_insert() when inserting into a NULL blob. Include blob-related test changes and some other simple changes.
This commit is contained in:
@@ -1152,6 +1152,10 @@ func Test_type()
|
||||
call assert_equal(v:t_float, type(0.0))
|
||||
call assert_equal(v:t_bool, type(v:false))
|
||||
call assert_equal(v:t_bool, type(v:true))
|
||||
call assert_equal(v:t_string, type(v:_null_string))
|
||||
call assert_equal(v:t_list, type(v:_null_list))
|
||||
call assert_equal(v:t_dict, type(v:_null_dict))
|
||||
call assert_equal(v:t_blob, type(v:_null_blob))
|
||||
endfunc
|
||||
|
||||
"-------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user