From 25f99dde9480bcfa32f172c0032a2d24d7c32153 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 22 Jun 2019 11:41:41 -0400 Subject: 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 vim/vim#3308) https://github.com/vim/vim/commit/f53c692240851f71b930e80a0b0b5d4cfcc1b4a3 --- src/nvim/testdir/test_options.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/testdir/test_options.vim b/src/nvim/testdir/test_options.vim index da87a22f1e..9aa003f475 100644 --- a/src/nvim/testdir/test_options.vim +++ b/src/nvim/testdir/test_options.vim @@ -357,7 +357,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 -- cgit