mirror of
https://github.com/neovim/neovim.git
synced 2025-12-09 16:12:48 +00:00
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.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
-- First test for undo working properly when executing commands from a register.
|
||||
-- Also test this in an empty buffer.
|
||||
|
||||
local helpers = require('test.functional.helpers')
|
||||
local helpers = require('test.functional.helpers')(after_each)
|
||||
local clear, feed, insert = helpers.clear, helpers.feed, helpers.insert
|
||||
local execute, expect = helpers.execute, helpers.expect
|
||||
|
||||
|
||||
Reference in New Issue
Block a user