]> granicus.if.org Git - vim/commitdiff
patch 8.2.4443: regexp pattern test fails on Mac v8.2.4443
authorBram Moolenaar <Bram@vim.org>
Tue, 22 Feb 2022 16:19:37 +0000 (16:19 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 22 Feb 2022 16:19:37 +0000 (16:19 +0000)
Problem:    Regexp pattern test fails on Mac.
Solution:   Do not use a swapfile for the buffer.

src/testdir/test_regexp_utf8.vim
src/version.c

index 9f5b28816029df2429fe24cd848c5841cb5f867d..d88e26321d3cdeb2cd2256e31ae966b0350d3e77 100644 (file)
@@ -562,7 +562,7 @@ endfunc
 
 func Test_match_too_complicated()
   set regexpengine=1
-  exe "vsplit \xeb\xdb\x99"
+  exe "noswapfile vsplit \xeb\xdb\x99"
   silent! buf \&\zs*\zs*0
   bwipe!
   set regexpengine=0
index deb79ebaea434c0fd12023624dd2cf98d5315e2d..05e52291800a298a2b3984e6fb3b75722ca32075 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4443,
 /**/
     4442,
 /**/