diff options
| author | Jędrzej Boczar <yendreij@gmail.com> | 2021-04-22 20:53:30 +0200 |
|---|---|---|
| committer | Kiyan <yazdani.kiyan@protonmail.com> | 2021-04-23 21:21:38 +0200 |
| commit | 63a88c873f3643aad9208488765dc53618edd40e (patch) | |
| tree | fb233a54b0dae8a6af1a12dfecb9cd85cbdb4f64 /scripts | |
| parent | ignore Lua indent test files when doing style-check (diff) | |
| download | nvim-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-x | scripts/run_tests.sh | 2 | ||||
| -rwxr-xr-x | scripts/style-check.sh | 2 |
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 |
