summaryrefslogtreecommitdiff
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
parentd4e8d3e6597578c14dd846762c57308f36ccacb5 (diff)
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 569a2d5e..c7800d50 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 bf3b906f..8dfb53aa 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