aboutsummaryrefslogtreecommitdiff
path: root/test/functional/viml/function_spec.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2016-07-15 20:35:31 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2016-08-31 21:57:06 +0200
commit98a08c3e5a73dafb2e2f1246f1a2ddd9e071798d (patch)
tree83366e40ebd56c2c31be00034a37f1468d9155e8 /test/functional/viml/function_spec.lua
parent1c22cab2fd283db49bfdbeaea490747574a36049 (diff)
downloadrneovim-98a08c3e5a73dafb2e2f1246f1a2ddd9e071798d.tar.gz
rneovim-98a08c3e5a73dafb2e2f1246f1a2ddd9e071798d.tar.bz2
rneovim-98a08c3e5a73dafb2e2f1246f1a2ddd9e071798d.zip
api: add tests for calling the api from vimscript
Diffstat (limited to 'test/functional/viml/function_spec.lua')
-rw-r--r--test/functional/viml/function_spec.lua9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/functional/viml/function_spec.lua b/test/functional/viml/function_spec.lua
index f0a4406593..776e760aaf 100644
--- a/test/functional/viml/function_spec.lua
+++ b/test/functional/viml/function_spec.lua
@@ -2,7 +2,6 @@ local helpers = require('test.functional.helpers')(after_each)
local clear = helpers.clear
local eq = helpers.eq
-local eval = helpers.eval
local exc_exec = helpers.exc_exec
describe('Up to MAX_FUNC_ARGS arguments are handled by', function()
@@ -28,11 +27,3 @@ describe('Up to MAX_FUNC_ARGS arguments are handled by', function()
eq('Vim(call):E740: Too many arguments for function rpcnotify', ret)
end)
end)
-
-describe('api_info()', function()
- before_each(clear)
- it('has the right keys', function()
- local api_keys = eval("sort(keys(api_info()))")
- eq({'error_types', 'functions', 'types'}, api_keys)
- end)
-end)