mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 11:26:37 +00:00
test: make preload of functional/testnvim.lua explicit (#35919)
Before functional/testnvim.lua was moved from functional/testutil.lua in
052498ed42
, it was explicitly preloaded,
but now it is preloaded implicitly via functional/ui/screen.lua.
Also fix warnings about unused variables in other preload.lua files.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
-- Modules loaded here will not be cleared and reloaded by Busted.
|
||||
-- Busted started doing this to help provide more isolation. See issue #62
|
||||
-- for more information about this.
|
||||
local n = require('test.functional.testnvim')
|
||||
require('test.functional.testnvim')()
|
||||
|
@@ -2,6 +2,7 @@
|
||||
-- Busted started doing this to help provide more isolation. See issue #62
|
||||
-- for more information about this.
|
||||
local t = require('test.testutil')
|
||||
require('test.functional.testnvim')()
|
||||
require('test.functional.ui.screen')
|
||||
|
||||
local has_ffi, ffi = pcall(require, 'ffi')
|
||||
|
@@ -1,6 +1,6 @@
|
||||
-- Modules loaded here will not be cleared and reloaded by Busted.
|
||||
-- Busted started doing this to help provide more isolation. See issue #62
|
||||
-- for more information about this.
|
||||
local ffi = require('ffi')
|
||||
local t = require('test.unit.testutil')
|
||||
local preprocess = require('test.unit.preprocess')
|
||||
require('ffi')
|
||||
require('test.unit.testutil')
|
||||
require('test.unit.preprocess')
|
||||
|
Reference in New Issue
Block a user