diff --git a/tests/test_in_vterm/test_vim.sh b/tests/test_in_vterm/test_vim.sh index 064c35a6..57c195ed 100755 --- a/tests/test_in_vterm/test_vim.sh +++ b/tests/test_in_vterm/test_vim.sh @@ -18,7 +18,7 @@ test_vim() { ln -sf "$(which "${POWERLINE_VIM_EXE}")" "$TEST_ROOT/path/vim" f="$ROOT/tests/test_in_vterm/test_vim.py" if ! "${PYTHON}" "$f" ; then - local test_name="$(LANG=C "$POWERLINE_VIM_EXE" --cmd 'echo version' --cmd qa 2>&1)" + local test_name="$(LANG=C "$POWERLINE_VIM_EXE" --cmd 'echo version' --cmd qa 2>&1 | tail -n2)" fail "$test_name" F "Failed vterm test $f" fi }