run tests independent of user nvim setup (#39)
* chore(lua_ls): now lua_ls knows about testing functions * spec: change way how tests srtuctured * test(config): refactor tests * test: utils * refactor(utils): remove not used function * chore(ci): add test runner * chore(ci): remove taskfile from deps * fix: now it works
This commit is contained in:
parent
b5327cd2eb
commit
5f8466d043
9 changed files with 88 additions and 125 deletions
|
|
@ -9,17 +9,6 @@ function utils.is_tbl_empty(t)
|
|||
return next(t) == nil
|
||||
end
|
||||
|
||||
---@param s string
|
||||
---@return string
|
||||
function utils.rtrim(s)
|
||||
local n = #s
|
||||
while n > 0 and s:find("^%s", n) do
|
||||
n = n - 1
|
||||
end
|
||||
|
||||
return s:sub(1, n)
|
||||
end
|
||||
|
||||
---@param msg string
|
||||
---@param lvl any
|
||||
function utils.deferred_notify(msg, lvl)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue