aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJędrzej Boczar <yendreij@gmail.com>2021-04-22 20:53:30 +0200
committerKiyan <yazdani.kiyan@protonmail.com>2021-04-23 21:21:38 +0200
commit63a88c873f3643aad9208488765dc53618edd40e (patch)
treefb233a54b0dae8a6af1a12dfecb9cd85cbdb4f64 /scripts
parentignore Lua indent test files when doing style-check (diff)
downloadnvim-treesitter-63a88c873f3643aad9208488765dc53618edd40e.tar
nvim-treesitter-63a88c873f3643aad9208488765dc53618edd40e.tar.gz
nvim-treesitter-63a88c873f3643aad9208488765dc53618edd40e.tar.bz2
nvim-treesitter-63a88c873f3643aad9208488765dc53618edd40e.tar.lz
nvim-treesitter-63a88c873f3643aad9208488765dc53618edd40e.tar.xz
nvim-treesitter-63a88c873f3643aad9208488765dc53618edd40e.tar.zst
nvim-treesitter-63a88c873f3643aad9208488765dc53618edd40e.zip
move all tests to top-level tests/ directory
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/run_tests.sh2
-rwxr-xr-xscripts/style-check.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh
index 569a2d5e8..c7800d50f 100755
--- a/scripts/run_tests.sh
+++ b/scripts/run_tests.sh
@@ -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
diff --git a/scripts/style-check.sh b/scripts/style-check.sh
index bf3b906f3..8dfb53aa2 100755
--- a/scripts/style-check.sh
+++ b/scripts/style-check.sh
@@ -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