Justin M. Keyes
c3836e40a2
build: enable lintlua for test/unit/ dir #26396
...
Problem:
Not all Lua code is checked by stylua. Automating code-style is an
important mechanism for reducing time spent on accidental
(non-essential) complexity.
Solution:
- Enable lintlua for `test/unit/` directory.
- TODO: only `test/functional/` remains unchecked.
previous: 45fe4d11ad
previous: 517f0cc634
2023-12-04 14:32:39 -08:00
Matěj Cepl
a8a38f3465
test: Lua 5.2/5.3 compat
...
close #9515
ref #9280
2019-01-17 23:06:04 +01:00
ZyX
8ef6cfa6ac
unittests: Fix linter errors
2017-03-11 23:48:16 +03:00
ZyX
e2a578f40d
unittests: Do not import libnvim or headers in main process
...
Slows down unit tests much, but gets rid of as much preserved state as possible.
2017-03-11 23:23:49 +03:00
ZyX
9400466282
unittests: Check core dumps in after_each, like in functests
2017-03-11 23:23:49 +03:00
Justin M. Keyes
4306e5ae0c
test: luacheck update
...
We pull luacheck HEAD, so this is a "catch up" commit to fix
newly-discovered errors.
2017-03-01 14:47:49 +01:00
ZyX
142d00e8da
unittests/*/helpers: Fix testlint errors
2016-06-24 17:38:33 +03:00
ZyX
2968dc7bdd
fixup! unittests: Add tests for vim_to_object function
2016-06-24 16:53:26 +03:00
ZyX
6b06bdafa2
unittests: Add tests for vim_to_object function
2016-06-24 16:53:26 +03:00