tests(comment): fix
This commit is contained in:
parent
387021ce0a
commit
7495e29d4f
5 changed files with 33 additions and 19 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue