From: Bram Moolenaar Date: Thu, 2 Nov 2017 22:15:40 +0000 (+0100) Subject: patch 8.0.1257: no test for fix of undefined behavior X-Git-Tag: v8.0.1257 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2973daafe1732963b8924cb9df53c608804d66b3;p=vim patch 8.0.1257: no test for fix of undefined behavior Problem: No test for fix of undefined behavior. Solution: Add a test. (closes #2255) --- diff --git a/src/testdir/test_search.vim b/src/testdir/test_search.vim index be8b9a4b7..37661c31a 100644 --- a/src/testdir/test_search.vim +++ b/src/testdir/test_search.vim @@ -697,3 +697,7 @@ func Test_search_undefined_behaviour() call term_sendkeys(g:buf, ":qa!\") bwipe! endfunc + +func Test_search_undefined_behaviour2() + call search("\%UC0000000") +endfunc diff --git a/src/version.c b/src/version.c index e94b81a78..65f5a4b03 100644 --- a/src/version.c +++ b/src/version.c @@ -761,6 +761,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1257, /**/ 1256, /**/