mirror of
https://github.com/neovim/neovim.git
synced 2025-12-10 00:22:41 +00:00
refactor: format test/*
This commit is contained in:
@@ -23,7 +23,7 @@ describe('log', function()
|
||||
-- calls, that needs investigation.
|
||||
clear()
|
||||
eq(0, request('nvim__stats').log_skip)
|
||||
clear{env={CDPATH='~doesnotexist'}}
|
||||
clear { env = { CDPATH = '~doesnotexist' } }
|
||||
assert(request('nvim__stats').log_skip <= 13)
|
||||
end)
|
||||
|
||||
@@ -32,14 +32,16 @@ describe('log', function()
|
||||
-- ERR 2022-05-29T12:30:03.800 T2 log_init:110: test log message
|
||||
-- ERR 2022-05-29T12:30:03.814 T2/child log_init:110: test log message
|
||||
|
||||
clear({env={
|
||||
NVIM_LOG_FILE=testlog,
|
||||
-- TODO: remove this after nvim_log #7062 is merged.
|
||||
__NVIM_TEST_LOG='1'
|
||||
}})
|
||||
clear({
|
||||
env = {
|
||||
NVIM_LOG_FILE = testlog,
|
||||
-- TODO: remove this after nvim_log #7062 is merged.
|
||||
__NVIM_TEST_LOG = '1',
|
||||
},
|
||||
})
|
||||
|
||||
local tid = _G._nvim_test_id
|
||||
assert_log(tid..'%.%d+%.%d +server_init:%d+: test log message', testlog, 100)
|
||||
assert_log(tid .. '%.%d+%.%d +server_init:%d+: test log message', testlog, 100)
|
||||
|
||||
exec_lua([[
|
||||
local j1 = vim.fn.jobstart({ vim.v.progpath, '-es', '-V1', '+foochild', '+qa!' }, vim.empty_dict())
|
||||
|
||||
Reference in New Issue
Block a user