mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
refactor: add assertion for v_blob in tv_ptr() (#29554)
Also add test for using printf() and id() with a Blob.
This commit is contained in:
@@ -84,10 +84,13 @@ describe('printf()', function()
|
||||
end
|
||||
api.nvim_del_var('__result')
|
||||
end
|
||||
check_printf('v:_null_string', true)
|
||||
check_printf('v:_null_list', true)
|
||||
check_printf('v:_null_dict', true)
|
||||
check_printf('v:_null_blob', true)
|
||||
check_printf('[]')
|
||||
check_printf('{}')
|
||||
check_printf('0z')
|
||||
check_printf('function("tr", ["a"])')
|
||||
end)
|
||||
end)
|
||||
|
Reference in New Issue
Block a user