From: Bram Moolenaar Date: Sat, 11 Aug 2018 15:53:04 +0000 (+0200) Subject: patch 8.1.0272: options test fails if temp var ends in slash X-Git-Tag: v8.1.0272 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f53c692240851f71b930e80a0b0b5d4cfcc1b4a3;p=vim 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) --- diff --git a/src/testdir/test_options.vim b/src/testdir/test_options.vim index 460a569f5..d8f033e03 100644 --- a/src/testdir/test_options.vim +++ b/src/testdir/test_options.vim @@ -344,7 +344,7 @@ func Test_backupskip() for var in ['$TEMPDIR', '$TMP', '$TEMP'] if exists(var) let varvalue = substitute(expand(var), '\\', '/', 'g') - call assert_match(varvalue . '.\*', bskvalue) + call assert_match(varvalue . '/\=\*', bskvalue) endif endfor endfunc diff --git a/src/version.c b/src/version.c index 40843f982..68df1ecad 100644 --- a/src/version.c +++ b/src/version.c @@ -794,6 +794,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 272, /**/ 271, /**/