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 460a569..d8f033e 100644
--- a/src/testdir/test_options.vim
+++ b/src/testdir/test_options.vim
@@ -344,7 +344,7 @@
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 40843f9..68df1ec 100644
--- a/src/version.c
+++ b/src/version.c
@@ -795,6 +795,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 272,
+/**/
271,
/**/
270,