aboutsummaryrefslogtreecommitdiff
path: root/test/unit/helpers.lua
diff options
context:
space:
mode:
authorJohn Szakmeister <john@szakmeister.net>2015-03-01 09:00:27 -0500
committerJohn Szakmeister <john@szakmeister.net>2015-03-01 09:00:27 -0500
commit235909044a2ed270352368f17e5256dc91930033 (patch)
tree9f67cdb92ef9ac2875506a6bb401ca891df4f714 /test/unit/helpers.lua
parent4bebdd1cd9adbbfb062f60584c21a89cddc52b09 (diff)
downloadrneovim-235909044a2ed270352368f17e5256dc91930033.tar.gz
rneovim-235909044a2ed270352368f17e5256dc91930033.tar.bz2
rneovim-235909044a2ed270352368f17e5256dc91930033.zip
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.
Diffstat (limited to 'test/unit/helpers.lua')
-rw-r--r--test/unit/helpers.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/helpers.lua b/test/unit/helpers.lua
index 1b97a2f15a..708e7a94ab 100644
--- a/test/unit/helpers.lua
+++ b/test/unit/helpers.lua
@@ -1,3 +1,4 @@
+local assert = require('luassert')
local ffi = require('ffi')
local formatc = require('test.unit.formatc')
local Set = require('test.unit.set')