Skip to content

Commit f53c692

Browse files
committed
patch 8.1.0272: options test fails if temp var ends in slash
Problem: Options test fails if temp var ends in slash. (Tom Briden) Solution: Check for optional slash. (closes #3308)
1 parent b0acacd commit f53c692

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/testdir/test_options.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ func Test_backupskip()
344344
for var in ['$TEMPDIR', '$TMP', '$TEMP']
345345
if exists(var)
346346
let varvalue = substitute(expand(var), '\\', '/', 'g')
347-
call assert_match(varvalue . '.\*', bskvalue)
347+
call assert_match(varvalue . '/\=\*', bskvalue)
348348
endif
349349
endfor
350350
endfunc

src/version.c

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

795795
static int included_patches[] =
796796
{ /* Add new patch number below this line */
797+
/**/
798+
272,
797799
/**/
798800
271,
799801
/**/

0 commit comments

Comments
 (0)