mirror of
https://github.com/neovim/neovim.git
synced 2025-11-16 07:11:20 +00:00
tests: Fix testlint errors
This commit is contained in:
@@ -376,8 +376,8 @@ local function format_string(fmt, ...)
|
||||
return args[i]
|
||||
end
|
||||
local ret = fmt:gsub('%%[0-9*]*%.?[0-9*]*[cdEefgGiouXxqsr%%]', function(match)
|
||||
local subfmt = match:gsub('%*', function(match)
|
||||
return getarg()
|
||||
local subfmt = match:gsub('%*', function()
|
||||
return tostring(getarg())
|
||||
end)
|
||||
local arg = nil
|
||||
if subfmt:sub(-1) ~= '%' then
|
||||
|
||||
Reference in New Issue
Block a user