mirror of
https://github.com/neovim/neovim.git
synced 2025-12-11 09:02:40 +00:00
tests: require luassert in the helpers
This is necessary for newer versions of Busted, otherwise assert will be nil and the tests will die. Note: this does not mean the tests now work with the latest Busted. There are still several issues preventing that from happening.
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
require('coxpcall')
|
require('coxpcall')
|
||||||
|
local assert = require('luassert')
|
||||||
local Loop = require('nvim.loop')
|
local Loop = require('nvim.loop')
|
||||||
local MsgpackStream = require('nvim.msgpack_stream')
|
local MsgpackStream = require('nvim.msgpack_stream')
|
||||||
local AsyncSession = require('nvim.async_session')
|
local AsyncSession = require('nvim.async_session')
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
local assert = require('luassert')
|
||||||
local ffi = require('ffi')
|
local ffi = require('ffi')
|
||||||
local formatc = require('test.unit.formatc')
|
local formatc = require('test.unit.formatc')
|
||||||
local Set = require('test.unit.set')
|
local Set = require('test.unit.set')
|
||||||
|
|||||||
Reference in New Issue
Block a user