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/window_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/window_spec.lua')
-rw-r--r-- | test/functional/api/window_spec.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/api/window_spec.lua b/test/functional/api/window_spec.lua index bf2bf55fb3..465bda6bc9 100644 --- a/test/functional/api/window_spec.lua +++ b/test/functional/api/window_spec.lua @@ -1,4 +1,3 @@ --- Sanity checks for window_* API calls via msgpack-rpc local helpers = require('test.functional.helpers')(after_each) local clear, nvim, curbuf, curbuf_contents, window, curwin, eq, neq, ok, feed, insert, eval = helpers.clear, helpers.nvim, helpers.curbuf, @@ -29,7 +28,7 @@ local function is_visible(str) return false end -describe('window_* functions', function() +describe('api/win', function() before_each(clear) describe('get_buf', function() |