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: |
|
run: |
|
||||||
nvim --version
|
nvim --version
|
||||||
[ ! -d tests ] && exit 0
|
[ ! -d tests ] && exit 0
|
||||||
nvim -l tests/busted.lua tests -o utfTerminal
|
./tests/run
|
||||||
community:
|
community:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -11,9 +11,7 @@ local Util = require("lazy.util")
|
||||||
local Text = {}
|
local Text = {}
|
||||||
|
|
||||||
function Text.new()
|
function Text.new()
|
||||||
local self = setmetatable({}, {
|
local self = setmetatable({}, { __index = Text })
|
||||||
__index = Text,
|
|
||||||
})
|
|
||||||
self._lines = {}
|
self._lines = {}
|
||||||
|
|
||||||
return self
|
return self
|
||||||
|
|
Loading…
Reference in New Issue