Initial sketch of automated indent tests

This commit is contained in:
Jędrzej Boczar 2021-03-13 22:46:45 +01:00 committed by Kiyan
parent eefa5662e6
commit 67f2c7149c
14 changed files with 257 additions and 0 deletions

7
scripts/run_tests.sh Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
HERE="$(dirname "$(realpath "${BASH_SOURCE[0]}")")"
cd $HERE/..
nvim --headless --noplugin -u scripts/minimal_init.lua \
-c "PlenaryBustedDirectory lua/tests/indent/ { minimal_init = './scripts/minimal_init.lua' }"