fix: synchronous problem fetch
This commit is contained in:
parent
91ce43e529
commit
b406c0ce4e
12 changed files with 140 additions and 352 deletions
|
|
@ -235,7 +235,7 @@ function M.toggle_run_panel(is_debug)
|
|||
|
||||
local function navigate_test_case(delta)
|
||||
local test_state = run.get_run_panel_state()
|
||||
if #test_state.test_cases == 0 then
|
||||
if vim.tbl_isempty(test_state.test_cases) then
|
||||
return
|
||||
end
|
||||
test_state.current_index = (test_state.current_index + delta) % #test_state.test_cases
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue