diff options
author | John Szakmeister <john@szakmeister.net> | 2015-03-01 14:49:48 -0500 |
---|---|---|
committer | John Szakmeister <john@szakmeister.net> | 2015-03-01 15:25:39 -0500 |
commit | d8ef23849af0e57a35a87d477a468a9241f78ad8 (patch) | |
tree | 2cfb5e66fa62662e6ea6f3aac719ebad56928b16 /test/functional/shell/viml_system_spec.lua | |
parent | ea35062589142459ca657f3977d76636bf9bd29d (diff) | |
download | rneovim-d8ef23849af0e57a35a87d477a468a9241f78ad8.tar.gz rneovim-d8ef23849af0e57a35a87d477a468a9241f78ad8.tar.bz2 rneovim-d8ef23849af0e57a35a87d477a468a9241f78ad8.zip |
tests: prevent busted from reloading the ffi module and others
It turns out that Busted started cleaning the environment in 2.0rc5 as a
result of Olivine-Labs/busted#62. This, in turn, caused the ffi module
to be reloaded for each spec file, and LuaJIT doesn't appreciate it.
The net effect is an assertion error in LuaJIT.
By using the --helper feature of Busted, we can pre-load some modules
ahead of Busted and prevent it from reloading them--making LuaJIT happy
again.
Diffstat (limited to 'test/functional/shell/viml_system_spec.lua')
0 files changed, 0 insertions, 0 deletions