aboutsummaryrefslogtreecommitdiff
path: root/test/functional/plugin/msgpack_spec.lua
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2016-04-18 01:37:21 +0300
committerZyX <kp-pav@yandex.ru>2016-04-18 02:48:20 +0300
commita64114eba017c0db3d1849186c9c54fb09308761 (patch)
tree8a0833743202d0e6be899fe65b50a47197c0e40a /test/functional/plugin/msgpack_spec.lua
parent28275fe5c3eedd7d5c5954178a28884a7a7b9483 (diff)
downloadrneovim-a64114eba017c0db3d1849186c9c54fb09308761.tar.gz
rneovim-a64114eba017c0db3d1849186c9c54fb09308761.tar.bz2
rneovim-a64114eba017c0db3d1849186c9c54fb09308761.zip
functests: Make json_functions_spec use new NIL where appropriate
Diffstat (limited to 'test/functional/plugin/msgpack_spec.lua')
-rw-r--r--test/functional/plugin/msgpack_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/plugin/msgpack_spec.lua b/test/functional/plugin/msgpack_spec.lua
index 197a1a92e5..246b26188f 100644
--- a/test/functional/plugin/msgpack_spec.lua
+++ b/test/functional/plugin/msgpack_spec.lua
@@ -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)