unittests: Fix testlint failure

This commit is contained in:
ZyX 2017-04-06 07:21:00 +03:00
parent c1416e0665
commit 654dd15bb8

View File

@ -1091,9 +1091,9 @@ describe('typval.c', function()
end)
end)
describe('join()', function()
local function list_join(l, sep, ret)
local function list_join(l, sep, join_ret)
local ga = ga_alloc()
eq(ret or OK, lib.tv_list_join(ga, l, sep))
eq(join_ret or OK, lib.tv_list_join(ga, l, sep))
local ret = ''
if ga.ga_data ~= nil then
ret = ffi.string(ga.ga_data)