fix(ci): format
This commit is contained in:
parent
86e8628f3f
commit
2c6512a4fb
1 changed files with 10 additions and 4 deletions
|
|
@ -157,7 +157,10 @@ local function run_problem()
|
||||||
logger.log(("running problem: %s"):format(problem_id))
|
logger.log(("running problem: %s"):format(problem_id))
|
||||||
|
|
||||||
if not state.platform then
|
if not state.platform then
|
||||||
logger.log("No contest configured. Use :CP <platform> <contest> <problem> to set up first.", vim.log.levels.ERROR)
|
logger.log(
|
||||||
|
"No contest configured. Use :CP <platform> <contest> <problem> to set up first.",
|
||||||
|
vim.log.levels.ERROR
|
||||||
|
)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -211,7 +214,10 @@ local function toggle_test_panel()
|
||||||
end
|
end
|
||||||
|
|
||||||
if not state.platform then
|
if not state.platform then
|
||||||
logger.log("No contest configured. Use :CP <platform> <contest> <problem> to set up first.", vim.log.levels.ERROR)
|
logger.log(
|
||||||
|
"No contest configured. Use :CP <platform> <contest> <problem> to set up first.",
|
||||||
|
vim.log.levels.ERROR
|
||||||
|
)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -263,12 +269,12 @@ local function toggle_test_panel()
|
||||||
local test_windows = {
|
local test_windows = {
|
||||||
tab_win = main_win,
|
tab_win = main_win,
|
||||||
actual_win = content_win,
|
actual_win = content_win,
|
||||||
expected_win = expected_win
|
expected_win = expected_win,
|
||||||
}
|
}
|
||||||
local test_buffers = {
|
local test_buffers = {
|
||||||
tab_buf = tab_buf,
|
tab_buf = tab_buf,
|
||||||
expected_buf = expected_buf,
|
expected_buf = expected_buf,
|
||||||
actual_buf = actual_buf
|
actual_buf = actual_buf,
|
||||||
}
|
}
|
||||||
|
|
||||||
local function render_test_tabs()
|
local function render_test_tabs()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue