From 0251dfb9fae12f1e5f0b31b00a815f7089c63e7f Mon Sep 17 00:00:00 2001 From: LostNeophyte Date: Thu, 26 Jan 2023 11:34:29 +0100 Subject: fix tests and example config --- utils/ci/run_test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'utils/ci') 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 -- cgit v1.2.3