# HG changeset patch # User Christian Brabandt # Date 1509661805 -3600 # Node ID 528b227051f8cd3064e99838e4264c4da44cc1e7 # Parent 248eaeef3fa332504c1ddcefd5c4cdd171b58e7a patch 8.0.1257: no test for fix of undefined behavior commit https://github.com/vim/vim/commit/2973daafe1732963b8924cb9df53c608804d66b3 Author: Bram Moolenaar Date: Thu Nov 2 23:15:40 2017 +0100 patch 8.0.1257: no test for fix of undefined behavior Problem: No test for fix of undefined behavior. Solution: Add a test. (closes https://github.com/vim/vim/issues/2255) diff --git a/src/testdir/test_search.vim b/src/testdir/test_search.vim --- 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 --- a/src/version.c +++ b/src/version.c @@ -762,6 +762,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1257, +/**/ 1256, /**/ 1255,