feat: update docs
This commit is contained in:
parent
b2894e9edf
commit
86e8628f3f
3 changed files with 196 additions and 84 deletions
|
|
@ -89,6 +89,10 @@ local function parse_test_cases_from_files(input_file, expected_file)
|
|||
local input_content = table.concat(vim.fn.readfile(individual_input_file), "\n")
|
||||
local expected_content = table.concat(vim.fn.readfile(individual_expected_file), "\n")
|
||||
|
||||
if input_content:match("^1\n") then
|
||||
input_content = input_content:gsub("^1\n", "")
|
||||
end
|
||||
|
||||
table.insert(test_cases, create_test_case(i, input_content, expected_content))
|
||||
i = i + 1
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue