mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.1.0853: options test fails on Mac
Problem: Options test fails on Mac. Solution: Remove a trailing slash from $TMPDIR.
This commit is contained in:
@@ -387,8 +387,10 @@ func Test_backupskip()
|
|||||||
for var in ['$TMPDIR', '$TMP', '$TEMP']
|
for var in ['$TMPDIR', '$TMP', '$TEMP']
|
||||||
if exists(var)
|
if exists(var)
|
||||||
let varvalue = substitute(expand(var), '\\', '/', 'g')
|
let varvalue = substitute(expand(var), '\\', '/', 'g')
|
||||||
let found = (index(bsklist, varvalue.'/*') >= 0)
|
let varvalue = substitute(varvalue, '/$', '', '')
|
||||||
call assert_true(found, var . ' not in option bsk: ' . &bsk)
|
let varvalue .= '/*'
|
||||||
|
let found = (index(bsklist, varvalue) >= 0)
|
||||||
|
call assert_true(found, var . ' (' . varvalue . ') not in option bsk: ' . &bsk)
|
||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
endfunc
|
endfunc
|
||||||
|
@@ -783,6 +783,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
853,
|
||||||
/**/
|
/**/
|
||||||
852,
|
852,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user