Improve tests

This commit is contained in:
Ben Jackson 2019-05-08 23:24:06 +01:00
commit 132b284dcd
6 changed files with 17 additions and 12 deletions

View file

@ -1,8 +1,8 @@
#!/usr/bin/env bash
RUN_VIM="vim --noplugin --clean --not-a-term -Nu vimrc"
RUN_TEST="${RUN_VIM} -S run_test.vim"
pushd tests > /dev/null
exec $RUN_VIM "$@"
exec vim \
--clean \
--not-a-term \
--cmd "let g:vimspector_enable_mappings='HUMAN'" \
-Nu $(dirname $0)/../../tests/vimrc \
"$@"