mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
fix(bytetrack): send correct events when opening lines
a bit of test cleanup ärrår feeel SPLIT fix: sned correct updates on <CR>
This commit is contained in:
@@ -82,6 +82,17 @@ end
|
||||
function module.ok(res, msg, logfile)
|
||||
return dumplog(logfile, assert.is_true, res, msg)
|
||||
end
|
||||
|
||||
-- TODO(bfredl): this should "failure" not "error" (issue with dumplog() )
|
||||
local function epicfail(state, arguments, _)
|
||||
state.failure_message = arguments[1]
|
||||
return false
|
||||
end
|
||||
assert:register("assertion", "epicfail", epicfail)
|
||||
function module.fail(msg, logfile)
|
||||
return dumplog(logfile, assert.epicfail, msg)
|
||||
end
|
||||
|
||||
function module.matches(pat, actual)
|
||||
if nil ~= string.match(actual, pat) then
|
||||
return true
|
||||
|
Reference in New Issue
Block a user