diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-06-22 11:41:41 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-06-23 18:17:09 -0400 |
commit | 25f99dde9480bcfa32f172c0032a2d24d7c32153 (patch) | |
tree | f316b79eb11fab4518c93b75abd866f46a5b9a8e | |
parent | 450d9e6bdf8c05329245a0c61e26b1eb97f783cf (diff) | |
download | rneovim-25f99dde9480bcfa32f172c0032a2d24d7c32153.tar.gz rneovim-25f99dde9480bcfa32f172c0032a2d24d7c32153.tar.bz2 rneovim-25f99dde9480bcfa32f172c0032a2d24d7c32153.zip |
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
-rw-r--r-- | src/nvim/testdir/test_options.vim | 2 |
1 files changed, 1 insertions, 1 deletions
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 |