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:
John Szakmeister 2015-03-01 09:00:27 -05:00
parent 4bebdd1cd9
commit 235909044a
2 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
require('coxpcall')
local assert = require('luassert')
local Loop = require('nvim.loop')
local MsgpackStream = require('nvim.msgpack_stream')
local AsyncSession = require('nvim.async_session')

View File

@ -1,3 +1,4 @@
local assert = require('luassert')
local ffi = require('ffi')
local formatc = require('test.unit.formatc')
local Set = require('test.unit.set')