aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/run_tests.sh
diff options
context:
space:
mode:
authorJędrzej Boczar <yendreij@gmail.com>2021-03-13 22:46:45 +0100
committerKiyan <yazdani.kiyan@protonmail.com>2021-04-23 21:21:38 +0200
commit67f2c7149c0de39248f1bdeba1a4303b156c3199 (patch)
tree1365bbaddf0570e2ab3d051bd3b4e7e2c876e2a6 /scripts/run_tests.sh
parentreplace @class with @type (diff)
downloadnvim-treesitter-67f2c7149c0de39248f1bdeba1a4303b156c3199.tar
nvim-treesitter-67f2c7149c0de39248f1bdeba1a4303b156c3199.tar.gz
nvim-treesitter-67f2c7149c0de39248f1bdeba1a4303b156c3199.tar.bz2
nvim-treesitter-67f2c7149c0de39248f1bdeba1a4303b156c3199.tar.lz
nvim-treesitter-67f2c7149c0de39248f1bdeba1a4303b156c3199.tar.xz
nvim-treesitter-67f2c7149c0de39248f1bdeba1a4303b156c3199.tar.zst
nvim-treesitter-67f2c7149c0de39248f1bdeba1a4303b156c3199.zip
Initial sketch of automated indent tests
Diffstat (limited to 'scripts/run_tests.sh')
-rwxr-xr-xscripts/run_tests.sh7
1 files changed, 7 insertions, 0 deletions
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' }"