fix(ci): use proper deep compare

This commit is contained in:
Barrett Ruth 2025-09-19 14:52:25 -04:00
parent ff75b975ab
commit 5605df8e6c

View file

@ -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