mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge #8589 'VimL: Remove legacy v:xx aliases'
This commit is contained in:
@@ -174,5 +174,17 @@ describe('Special values', function()
|
||||
command('let count = []') -- v:count is readonly
|
||||
eq(1, eval('count is# g:["count"]'))
|
||||
end)
|
||||
it('v:errmsg is distinct from errmsg', function()
|
||||
command('let errmsg = 1')
|
||||
eq(1, eval('errmsg is# g:["errmsg"]'))
|
||||
end)
|
||||
it('v:shell_error is distinct from shell_error', function()
|
||||
command('let shell_error = []') -- v:shell_error is readonly
|
||||
eq(1, eval('shell_error is# g:["shell_error"]'))
|
||||
end)
|
||||
it('v:this_session is distinct from this_session', function()
|
||||
command('let this_session = []')
|
||||
eq(1, eval('this_session is# g:["this_session"]'))
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user