move all tests to top-level tests/ directory

This commit is contained in:
Jędrzej Boczar 2021-04-22 20:53:30 +02:00 committed by Kiyan
parent d4e8d3e659
commit 63a88c873f
56 changed files with 72 additions and 72 deletions

View file

@ -5,7 +5,7 @@ cd $HERE/..
run() {
nvim --headless --noplugin -u scripts/minimal_init.lua \
-c "PlenaryBustedDirectory lua/tests/indent/ { minimal_init = './scripts/minimal_init.lua' }"
-c "PlenaryBustedDirectory tests/indent/ { minimal_init = './scripts/minimal_init.lua' }"
}
if [[ $1 = '--summary' ]]; then

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
# ignore indent test files
luacheck `find -name "*.lua" -not -path "./lua/tests/indent/lua/*"` --codes
luacheck `find -name "*.lua" -not -path "./tests/indent/lua/*"` --codes