aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/window_spec.lua
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2016-04-24 02:53:11 +0300
committerZyX <kp-pav@yandex.ru>2016-06-10 21:50:49 +0300
commitff470bb853397fcb25bfa5dd952ebb32307b7875 (patch)
treef2afc180ec872c0ed186a402b332de941cdaf53c /test/functional/api/window_spec.lua
parenta160590e40342f013b7da45d2ab0e1c6ed636d35 (diff)
downloadrneovim-ff470bb853397fcb25bfa5dd952ebb32307b7875.tar.gz
rneovim-ff470bb853397fcb25bfa5dd952ebb32307b7875.tar.bz2
rneovim-ff470bb853397fcb25bfa5dd952ebb32307b7875.zip
functests: Check logs in lua code
It is otherwise impossible to determine which test failed sanitizer/valgrind check. test/functional/helpers.lua module return was changed so that tests which do not provide after_each function to get new check will automatically fail.
Diffstat (limited to 'test/functional/api/window_spec.lua')
-rw-r--r--test/functional/api/window_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/api/window_spec.lua b/test/functional/api/window_spec.lua
index 92a33b4cdb..d90323181c 100644
--- a/test/functional/api/window_spec.lua
+++ b/test/functional/api/window_spec.lua
@@ -1,5 +1,5 @@
-- Sanity checks for window_* API calls via msgpack-rpc
-local helpers = require('test.functional.helpers')
+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,
helpers.curbuf_contents, helpers.window, helpers.curwin, helpers.eq,