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:
zeertzjq
2025-09-26 09:05:07 +08:00
committed by GitHub
parent a9486fe7e1
commit a0a86fdc04
3 changed files with 5 additions and 4 deletions

View File

@@ -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')