Skip to content

Commit cbbd0f6

Browse files
committed
patch 8.1.0853: options test fails on Mac
Problem: Options test fails on Mac. Solution: Remove a trailing slash from $TMPDIR.
1 parent ed71ed3 commit cbbd0f6

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/testdir/test_options.vim

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,10 @@ func Test_backupskip()
387387
for var in ['$TMPDIR', '$TMP', '$TEMP']
388388
if exists(var)
389389
let varvalue = substitute(expand(var), '\\', '/', 'g')
390-
let found = (index(bsklist, varvalue.'/*') >= 0)
391-
call assert_true(found, var . ' not in option bsk: ' . &bsk)
390+
let varvalue = substitute(varvalue, '/$', '', '')
391+
let varvalue .= '/*'
392+
let found = (index(bsklist, varvalue) >= 0)
393+
call assert_true(found, var . ' (' . varvalue . ') not in option bsk: ' . &bsk)
392394
endif
393395
endfor
394396
endfunc

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,8 @@ static char *(features[]) =
783783

784784
static int included_patches[] =
785785
{ /* Add new patch number below this line */
786+
/**/
787+
853,
786788
/**/
787789
852,
788790
/**/

0 commit comments

Comments
 (0)