# HG changeset patch # User Christian Brabandt # Date 1534003206 -7200 # Node ID a28fb81c9ecf9cff9a89078266099fcc1d20f818 # Parent 1e3bfb9cee4ca5a98339b0e6c06bea972ed5f664 patch 8.1.0272: options test fails if temp var ends in slash commit https://github.com/vim/vim/commit/f53c692240851f71b930e80a0b0b5d4cfcc1b4a3 Author: Bram Moolenaar Date: Sat Aug 11 17:53:04 2018 +0200 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 https://github.com/vim/vim/issues/3308) diff --git a/src/testdir/test_options.vim b/src/testdir/test_options.vim --- 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 --- a/src/version.c +++ b/src/version.c @@ -795,6 +795,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 272, +/**/ 271, /**/ 270,