aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/vim_spec.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-03-07 11:01:13 +0100
committerbfredl <bjorn.linse@gmail.com>2022-03-07 11:04:36 +0100
commit147908336ec2e2051dd752e38964d0c36aea1b54 (patch)
treece2b9292ffdc344b5cdda6e19904d1b65bcda367 /test/functional/lua/vim_spec.lua
parentc3cc17f0e61d70436c601444298fceeafbfbacb3 (diff)
downloadrneovim-147908336ec2e2051dd752e38964d0c36aea1b54.tar.gz
rneovim-147908336ec2e2051dd752e38964d0c36aea1b54.tar.bz2
rneovim-147908336ec2e2051dd752e38964d0c36aea1b54.zip
fix(lua): don't use nlua_error when exiting early
Screen state is not initialized yet. Print directly to stderr instead.
Diffstat (limited to 'test/functional/lua/vim_spec.lua')
-rw-r--r--test/functional/lua/vim_spec.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/functional/lua/vim_spec.lua b/test/functional/lua/vim_spec.lua
index 3dacb7a114..e66e08d9d0 100644
--- a/test/functional/lua/vim_spec.lua
+++ b/test/functional/lua/vim_spec.lua
@@ -1,6 +1,5 @@
-- Test suite for testing interactions with API bindings
local helpers = require('test.functional.helpers')(after_each)
-local isCI = require('test.helpers').isCI
local Screen = require('test.functional.ui.screen')
local funcs = helpers.funcs
@@ -2558,9 +2557,6 @@ describe('lua: builtin modules', function()
it('does not work when disabled without runtime', function()
- if isCI('sourcehut') then
- pending('causes a core dump')
- end
clear{args={'--luamod-dev'}, env={VIMRUNTIME='fixtures/a'}}
-- error checking could be better here. just check that --luamod-dev
-- does anything at all by breaking with missing runtime..