mirror of
https://github.com/neovim/neovim.git
synced 2026-05-03 20:45:02 +00:00
test/functional: clean up according to luacheck (part 2)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
local helpers, lfs = require('test.functional.helpers'), require('lfs')
|
||||
local clear, execute, eq, neq, spawn, nvim_prog, set_session, wait, write_file
|
||||
= helpers.clear, helpers.execute, helpers.eq, helpers.neq, helpers.spawn,
|
||||
local execute, eq, neq, spawn, nvim_prog, set_session, wait, write_file
|
||||
= helpers.execute, helpers.eq, helpers.neq, helpers.spawn,
|
||||
helpers.nvim_prog, helpers.set_session, helpers.wait, helpers.write_file
|
||||
|
||||
describe(':wshada', function()
|
||||
@@ -13,7 +13,7 @@ describe(':wshada', function()
|
||||
end
|
||||
|
||||
-- Override the default session because we need 'swapfile' for these tests.
|
||||
local session = spawn({nvim_prog, '-u', 'NONE', '-i', '/dev/null', '--embed',
|
||||
session = spawn({nvim_prog, '-u', 'NONE', '-i', '/dev/null', '--embed',
|
||||
'--cmd', 'set swapfile'})
|
||||
set_session(session)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user