From 67f2c7149c0de39248f1bdeba1a4303b156c3199 Mon Sep 17 00:00:00 2001 From: Jędrzej Boczar Date: Sat, 13 Mar 2021 22:46:45 +0100 Subject: Initial sketch of automated indent tests --- scripts/run_tests.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 scripts/run_tests.sh (limited to 'scripts/run_tests.sh') diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh new file mode 100755 index 000000000..202d271a5 --- /dev/null +++ b/scripts/run_tests.sh @@ -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' }" -- cgit v1.2.3-70-g09d2