diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-10-23 00:02:22 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-10-24 01:10:23 +0200 |
commit | 43309d1993a9affc8d6b73fbd4721e6256c28712 (patch) | |
tree | 9f0cdb799bed0bc57445a74591d8d9a1e8e209c1 /test/functional/api/buffer_spec.lua | |
parent | fdc48cad7d9fe40ad62a0ba995d088c791bc38ab (diff) | |
download | rneovim-43309d1993a9affc8d6b73fbd4721e6256c28712.tar.gz rneovim-43309d1993a9affc8d6b73fbd4721e6256c28712.tar.bz2 rneovim-43309d1993a9affc8d6b73fbd4721e6256c28712.zip |
test/api: Specify handling of VimL errors, v:errmsg.
TODO: Also spec behavior of Press-Enter prompt for these API functions.
Diffstat (limited to 'test/functional/api/buffer_spec.lua')
-rw-r--r-- | test/functional/api/buffer_spec.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/api/buffer_spec.lua b/test/functional/api/buffer_spec.lua index 71ec213b97..3d3a2bb046 100644 --- a/test/functional/api/buffer_spec.lua +++ b/test/functional/api/buffer_spec.lua @@ -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 |