diff options
author | LostNeophyte <[email protected]> | 2023-01-26 11:34:29 +0100 |
---|---|---|
committer | LostNeophyte <[email protected]> | 2023-01-26 11:34:29 +0100 |
commit | 0251dfb9fae12f1e5f0b31b00a815f7089c63e7f (patch) | |
tree | 05bf05b857882740198a32b8b5c5a82133fcc7f8 /utils/ci/run_test.sh | |
parent | 162eff8fd5a2a6df4f45ba24226438e3787fb605 (diff) |
fix tests and example config
Diffstat (limited to 'utils/ci/run_test.sh')
-rw-r--r-- | utils/ci/run_test.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/ci/run_test.sh b/utils/ci/run_test.sh index 3e1bcf1b..620dfb6f 100644 --- a/utils/ci/run_test.sh +++ b/utils/ci/run_test.sh @@ -15,11 +15,11 @@ export LUNARVIM_CONFIG_DIR LUNARVIM_CACHE_DIR printf "cache_dir: %s\nconfig_dir: %s\n" "$LUNARVIM_CACHE_DIR" "$LUNARVIM_CONFIG_DIR" lvim() { - nvim -u "$LUNARVIM_BASE_DIR/tests/minimal_init.lua" --cmd "set runtimepath+=$LUNARVIM_BASE_DIR" "$@" + nvim -u "$LUNARVIM_BASE_DIR/tests/minimal_init.lua" --cmd "set runtimepath+=$LUNARVIM_RUNTIME_DIR/site/pack/lazy/opt/*" "$@" } if [ -n "$1" ]; then - lvim --headless -c "lua require('plenary.busted').run('$1')" + lvim --headless -c "lua require('plenary.busted').run('$1')" else - lvim --headless -c "PlenaryBustedDirectory tests/specs { minimal_init = './tests/minimal_init.lua' }" + lvim --headless -c "lua require('plenary')" -c "PlenaryBustedDirectory tests/specs { minimal_init = './tests/minimal_init.lua' }" fi |