mirror of https://github.com/folke/lazy.nvim.git
ci: make simple test script
This commit is contained in:
parent
e3e431480d
commit
79bcc02d17
|
@ -25,7 +25,7 @@ jobs:
|
|||
run: |
|
||||
nvim --version
|
||||
[ ! -d tests ] && exit 0
|
||||
nvim -l tests/busted.lua tests -o utfTerminal
|
||||
./tests/run
|
||||
community:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
|
@ -11,9 +11,7 @@ local Util = require("lazy.util")
|
|||
local Text = {}
|
||||
|
||||
function Text.new()
|
||||
local self = setmetatable({}, {
|
||||
__index = Text,
|
||||
})
|
||||
local self = setmetatable({}, { __index = Text })
|
||||
self._lines = {}
|
||||
|
||||
return self
|
||||
|
|
Loading…
Reference in New Issue