mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +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:
@@ -1,9 +1,15 @@
|
||||
-- Tests for undo tree and :earlier and :later.
|
||||
local helpers = require('test.functional.helpers')(after_each)
|
||||
|
||||
local helpers = require('test.functional.helpers')
|
||||
local expect, feed, source = helpers.expect, helpers.feed, helpers.source
|
||||
local eval, clear, execute = helpers.eval, helpers.clear, helpers.execute
|
||||
local write_file, command, eq = helpers.write_file, helpers.command, helpers.eq
|
||||
local write_file = helpers.write_file
|
||||
local execute = helpers.execute
|
||||
local command = helpers.command
|
||||
local source = helpers.source
|
||||
local expect = helpers.expect
|
||||
local clear = helpers.clear
|
||||
local feed = helpers.feed
|
||||
local eval = helpers.eval
|
||||
local eq = helpers.eq
|
||||
|
||||
local function expect_empty_buffer()
|
||||
-- The space will be removed by helpers.dedent but is needed because dedent
|
||||
|
||||
Reference in New Issue
Block a user