mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-24 21:16:51 -07:00
Fix Travis CI build
This commit is contained in:
parent
e7704e6cb3
commit
eb38fe3d32
1
test/run
1
test/run
@ -55,6 +55,7 @@ set shell=/bin/bash
|
|||||||
source $PLUG_SRC
|
source $PLUG_SRC
|
||||||
VIMRC
|
VIMRC
|
||||||
|
|
||||||
|
[ -z "$TMPDIR" ] && export TMPDIR=/tmp
|
||||||
init
|
init
|
||||||
if [ "$1" = '!' ]; then
|
if [ "$1" = '!' ]; then
|
||||||
/usr/local/bin/vim -Nu /tmp/mini-vimrc -c 'Vader! workflow.vader' > /dev/null &&
|
/usr/local/bin/vim -Nu /tmp/mini-vimrc -c 'Vader! workflow.vader' > /dev/null &&
|
||||||
|
@ -1036,6 +1036,11 @@ Execute (PlugSnapshot):
|
|||||||
AssertEqual 'PLUG_HOME=$TMPDIR/plugged', getline(7)
|
AssertEqual 'PLUG_HOME=$TMPDIR/plugged', getline(7)
|
||||||
AssertEqual 0, stridx(getline(9), 'cd $PLUG_HOME/seoul256.vim/ && git reset --hard')
|
AssertEqual 0, stridx(getline(9), 'cd $PLUG_HOME/seoul256.vim/ && git reset --hard')
|
||||||
AssertEqual 0, stridx(getline(10), 'cd $PLUG_HOME/vim-emoji/ && git reset --hard')
|
AssertEqual 0, stridx(getline(10), 'cd $PLUG_HOME/vim-emoji/ && git reset --hard')
|
||||||
|
AssertEqual 'sh', &filetype
|
||||||
|
|
||||||
|
execute 'PlugSnapshot' g:plug_home.'/snapshot.sh'
|
||||||
|
AssertEqual 'sh', &filetype
|
||||||
|
AssertEqual 'snapshot.sh', fnamemodify(expand('%'), ':t')
|
||||||
q
|
q
|
||||||
|
|
||||||
Execute (Cleanup):
|
Execute (Cleanup):
|
||||||
|
Loading…
Reference in New Issue
Block a user