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 buffer_* API calls via msgpack-rpc
local helpers = require('test.functional.helpers')(after_each)
local clear, nvim, buffer = helpers.clear, helpers.nvim, helpers.buffer
local curbuf, curwin, eq = helpers.curbuf, helpers.curwin, helpers.eq
@@ -6,7 +5,7 @@ local curbufmeths, ok = helpers.curbufmeths, helpers.ok
local funcs, request = helpers.funcs, helpers.request
local NIL = helpers.NIL
describe('buffer_* functions', function()
describe('api/buf', function()
before_each(clear)
-- access deprecated functions