mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
eval/typval: Fix SEGV in test_alot.vim test
This commit is contained in:
@@ -130,4 +130,10 @@ describe('NULL', function()
|
||||
null_list_expr_test('is not not equal to itself', 'L != L', 0, 0)
|
||||
null_list_expr_test('counts correctly', 'count([L], L)', 0, 1)
|
||||
end)
|
||||
describe('dict', function()
|
||||
it('does not crash when indexing NULL dict', function()
|
||||
eq('\nE716: Key not present in Dictionary: test\nE15: Invalid expression: v:_null_dict.test',
|
||||
redir_exec('echo v:_null_dict.test'))
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user