From a50582719267a847c84e1564e97c698d994f883c Mon Sep 17 00:00:00 2001 From: Michael Utz Date: Thu, 24 Nov 2022 10:52:38 +0300 Subject: [PATCH] Make tests work with minimal_init.vim --- scripts/test | 4 ++-- specs/{init.vim => minimal_init.vim} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename specs/{init.vim => minimal_init.vim} (100%) diff --git a/scripts/test b/scripts/test index 73ec9f7..d8b8bc1 100755 --- a/scripts/test +++ b/scripts/test @@ -2,9 +2,9 @@ tempfile=".test_output.tmp" if [[ -n $1 ]]; then - nvim --headless --noplugin -u specs/init.vim -c "PlenaryBustedFile $1" | tee "${tempfile}" + nvim --headless --noplugin -u specs/minimal_init.vim -c "PlenaryBustedFile $1" | tee "${tempfile}" else - nvim --headless --noplugin -u specs/init.vim -c "PlenaryBustedDirectory specs/ {minimal_init = 'specs/init.vim'}" | tee "${tempfile}" + nvim --headless --noplugin -u specs/minimal_init.vim -c "PlenaryBustedDirectory specs/ {minimal_init = 'specs/minimal_init.vim'}" | tee "${tempfile}" fi # Plenary doesn't emit exit code 1 when tests have errors during setup diff --git a/specs/init.vim b/specs/minimal_init.vim similarity index 100% rename from specs/init.vim rename to specs/minimal_init.vim