mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 09:12:07 +00:00
unittests: Remove start of trace, not end
This commit is contained in:
@@ -690,7 +690,9 @@ local function check_child_err(rd)
|
||||
break
|
||||
end
|
||||
trace[#trace + 1] = traceline
|
||||
table.remove(trace, maxtrace + 1)
|
||||
if #trace > maxtrace then
|
||||
table.remove(trace, 1)
|
||||
end
|
||||
end
|
||||
local res = sc.read(rd, 2)
|
||||
if #res ~= 2 then
|
||||
|
Reference in New Issue
Block a user