fix(ci): use proper deep compare
This commit is contained in:
parent
ff75b975ab
commit
5605df8e6c
1 changed files with 6 additions and 9 deletions
|
|
@ -77,13 +77,7 @@ function M.render_test_list(test_state)
|
|||
end
|
||||
end
|
||||
|
||||
local line = string.format(
|
||||
'%s │%s │ %s │%s',
|
||||
num_col,
|
||||
status_col,
|
||||
time_col,
|
||||
exit_col
|
||||
)
|
||||
local line = string.format('%s │%s │ %s │%s', num_col, status_col, time_col, exit_col)
|
||||
table.insert(lines, line)
|
||||
|
||||
if status_info.text ~= '' then
|
||||
|
|
@ -98,12 +92,15 @@ function M.render_test_list(test_state)
|
|||
end
|
||||
|
||||
if is_current and test_case.input and test_case.input ~= '' then
|
||||
for _, input_line in ipairs(vim.split(test_case.input, '\n', { plain = true, trimempty = false })) do
|
||||
for _, input_line in
|
||||
ipairs(vim.split(test_case.input, '\n', { plain = true, trimempty = false }))
|
||||
do
|
||||
table.insert(lines, input_line)
|
||||
end
|
||||
end
|
||||
|
||||
local separator = '─────────────────────────────────────────────────────────────'
|
||||
local separator =
|
||||
'─────────────────────────────────────────────────────────────'
|
||||
table.insert(lines, separator)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue