mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
Satisfy testlint.
For that, make luatest ignore the preload.lua files.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
require('coxpcall')
|
||||
NIL = require('mpack').NIL
|
||||
local lfs = require('lfs')
|
||||
local assert = require('luassert')
|
||||
local ChildProcessStream = require('nvim.child_process_stream')
|
||||
@@ -10,6 +9,8 @@ local nvim_argv = {nvim_prog, '-u', 'NONE', '-i', 'NONE', '-N',
|
||||
'--cmd', 'set shortmess+=I background=light noswapfile noautoindent laststatus=1 undodir=. directory=. viewdir=. backupdir=.',
|
||||
'--embed'}
|
||||
|
||||
local mpack = require('mpack')
|
||||
|
||||
-- Formulate a path to the directory containing nvim. We use this to
|
||||
-- help run test executables. It helps to keep the tests working, even
|
||||
-- when the build is not in the default location.
|
||||
@@ -452,4 +453,5 @@ return {
|
||||
curbufmeths = curbufmeths,
|
||||
curwinmeths = curwinmeths,
|
||||
curtabmeths = curtabmeths,
|
||||
NIL = mpack.NIL
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user