Remove “output is not to a terminal” from Vim output

This commit is contained in:
Foo 2017-10-21 20:38:31 +03:00
parent cbea5357a9
commit 29d0a3c171
1 changed files with 1 additions and 1 deletions

View File

@ -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
}