diff options
author | ZyX <kp-pav@yandex.ru> | 2016-02-06 02:46:23 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2016-04-18 02:45:49 +0300 |
commit | 6167ce6df2753d5474ad49aea19f5957128ab015 (patch) | |
tree | 525c160abf96abf5eae58a6bcfab46ae4d6cd728 /test/functional/eval/msgpack_functions_spec.lua | |
parent | a3b87fc19b652065d96cec8f571d3245f1fc2446 (diff) | |
download | rneovim-6167ce6df2753d5474ad49aea19f5957128ab015.tar.gz rneovim-6167ce6df2753d5474ad49aea19f5957128ab015.tar.bz2 rneovim-6167ce6df2753d5474ad49aea19f5957128ab015.zip |
eval: Remove v:none
To get v:none back just rever this commit. This will not make json*() functions
compatible with Vim though.
Diffstat (limited to 'test/functional/eval/msgpack_functions_spec.lua')
-rw-r--r-- | test/functional/eval/msgpack_functions_spec.lua | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/functional/eval/msgpack_functions_spec.lua b/test/functional/eval/msgpack_functions_spec.lua index 3d539d855d..a602bad86f 100644 --- a/test/functional/eval/msgpack_functions_spec.lua +++ b/test/functional/eval/msgpack_functions_spec.lua @@ -645,11 +645,6 @@ describe('msgpackdump() function', function() exc_exec('call msgpackdump([todump])')) end) - it('fails to dump v:none', function() - eq('Vim(call):E953: Attempt to convert v:none in msgpackdump() argument, index 0, itself', - exc_exec('call msgpackdump([v:none])')) - end) - it('fails when called with no arguments', function() eq('Vim(call):E119: Not enough arguments for function: msgpackdump', exc_exec('call msgpackdump()')) @@ -686,7 +681,7 @@ describe('msgpackdump() function', function() end) it('fails to dump special value', function() - for _, val in ipairs({'v:true', 'v:false', 'v:null', 'v:none'}) do + for _, val in ipairs({'v:true', 'v:false', 'v:null'}) do eq('Vim(call):E686: Argument of msgpackdump() must be a List', exc_exec('call msgpackdump(' .. val .. ')')) end |