Improve git URI validation

Close #530
This commit is contained in:
Junegunn Choi committed 2016-10-08 23:32:48 +09:00
1 parent 5d8c4bfc1f
commit 6575bd65b1
3 files changed
+38 -4

No files matched your search

+2 -1
View File
@@ -15,7 +15,8 @@ Execute (Initialize test environment):
" Temporarily patch plug.vim
call system('cp "$PLUG_SRC" "$PLUG_TMP"')
call writefile(extend(readfile($PLUG_TMP),
\ ['function! ResetPlug()', 'let s:loaded = {}', 'endfunction']), $PLUG_TMP)
\ ['function! ResetPlug()', 'let s:loaded = {}', 'endfunction',
\ 'function! CompareURI(a, b)', 'return s:compare_git_uri(a:a, a:b)', 'endfunction']), $PLUG_TMP)
set t_Co=256
colo default