test/api: Specify handling of VimL errors, v:errmsg.

TODO: Also spec behavior of Press-Enter prompt for these API functions.
This commit is contained in:
Justin M. Keyes
2016-10-23 00:02:22 +02:00
parent fdc48cad7d
commit 43309d1993
7 changed files with 53 additions and 26 deletions

View File

@@ -1,4 +1,3 @@
-- Sanity checks for tabpage_* API calls via msgpack-rpc
local helpers = require('test.functional.helpers')(after_each)
local clear, nvim, tabpage, curtab, eq, ok =
helpers.clear, helpers.nvim, helpers.tabpage, helpers.curtab, helpers.eq,
@@ -8,7 +7,7 @@ local funcs = helpers.funcs
local request = helpers.request
local NIL = helpers.NIL
describe('tabpage_* functions', function()
describe('api/tabpage', function()
before_each(clear)
describe('list_wins and get_win', function()