mirror of
https://github.com/pnx/neotest-phpunit
synced 2026-07-02 11:43:39 +02:00
Make tests work with minimal_init.vim
This commit is contained in:
parent
992ce56868
commit
a505827192
2 changed files with 2 additions and 2 deletions
|
|
@ -2,9 +2,9 @@
|
||||||
tempfile=".test_output.tmp"
|
tempfile=".test_output.tmp"
|
||||||
|
|
||||||
if [[ -n $1 ]]; then
|
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
|
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
|
fi
|
||||||
|
|
||||||
# Plenary doesn't emit exit code 1 when tests have errors during setup
|
# Plenary doesn't emit exit code 1 when tests have errors during setup
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue