functests: Make json_functions_spec use new NIL where appropriate

This commit is contained in:
ZyX
2016-04-18 01:37:21 +03:00
parent 28275fe5c3
commit a64114eba0
5 changed files with 15 additions and 12 deletions

View File

@@ -534,7 +534,7 @@ describe('In autoload/msgpack.vim', function()
it('works for special v: values like v:true', function()
meths.set_var('true', true)
meths.set_var('false', false)
nvim_command('let nil = v:null')
meths.set_var('nil', NIL)
nvim_command('let true2 = msgpack#deepcopy(true)')
nvim_command('let false2 = msgpack#deepcopy(false)')
@@ -542,7 +542,7 @@ describe('In autoload/msgpack.vim', function()
eq(true, meths.get_var('true'))
eq(false, meths.get_var('false'))
eq(nil, meths.get_var('nil'))
eq(NIL, meths.get_var('nil'))
end)
end)