From: Bram Moolenaar Date: Mon, 20 Jul 2020 19:21:30 +0000 (+0200) Subject: patch 8.2.1254: MS-Windows: regexp test may fail if 'iskeyword' set wrongly X-Git-Tag: v8.2.1254 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=470adb827f3d9e6cf62f685738d2db216daf3738;p=vim patch 8.2.1254: MS-Windows: regexp test may fail if 'iskeyword' set wrongly Problem: MS-Windows: regexp test may fail if 'iskeyword' set wrongly. Solution: Override the 'iskeyword' value. (Taro Muraoka, closes #6502) --- diff --git a/src/testdir/test_regexp_utf8.vim b/src/testdir/test_regexp_utf8.vim index e8e67a62c..5100b378a 100644 --- a/src/testdir/test_regexp_utf8.vim +++ b/src/testdir/test_regexp_utf8.vim @@ -32,6 +32,9 @@ func Test_equivalence_re2() endfunc func s:classes_test() + if has('win32') + set iskeyword=@,48-57,_,192-255 + endif set isprint=@,161-255 call assert_equal('Motörhead', matchstr('Motörhead', '[[:print:]]\+')) diff --git a/src/version.c b/src/version.c index daec76500..8cedb1cb9 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1254, /**/ 1253, /**/