tests(comment): fix

This commit is contained in:
Oleksandr Smirnov 2025-03-19 13:34:10 +02:00
parent 387021ce0a
commit 7495e29d4f
No known key found for this signature in database
5 changed files with 33 additions and 19 deletions

View file

@ -31,6 +31,11 @@ function testutils.writefile(fpath, contents)
vim.fn.writefile(vim.split(contents, "\n"), fpath)
end
---@param fpath string
function testutils.deletefile(fpath)
vim.fn.delete(fpath)
end
---@param fixture string
---@return {input: string, output: string}
function testutils.get_fixtures(fixture)