feat: format
This commit is contained in:
parent
d5b3c9a881
commit
0951944e8c
2 changed files with 18 additions and 7 deletions
|
|
@ -248,7 +248,9 @@ local function toggle_test_panel()
|
|||
logger.log(("navigating test by %d"):format(delta))
|
||||
local test_state = test_module.get_test_panel_state()
|
||||
local new_index = test_state.current_index + delta
|
||||
logger.log(("current: %d, new: %d, total: %d"):format(test_state.current_index, new_index, #test_state.test_cases))
|
||||
logger.log(
|
||||
("current: %d, new: %d, total: %d"):format(test_state.current_index, new_index, #test_state.test_cases)
|
||||
)
|
||||
if new_index >= 1 and new_index <= #test_state.test_cases then
|
||||
test_state.current_index = new_index
|
||||
toggle_test_panel()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue