mirror of
https://github.com/vim/vim.git
synced 2025-11-10 10:47:23 -05:00
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)
This commit is contained in:
@@ -697,3 +697,7 @@ func Test_search_undefined_behaviour()
|
|||||||
call term_sendkeys(g:buf, ":qa!\<cr>")
|
call term_sendkeys(g:buf, ":qa!\<cr>")
|
||||||
bwipe!
|
bwipe!
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
func Test_search_undefined_behaviour2()
|
||||||
|
call search("\%UC0000000")
|
||||||
|
endfunc
|
||||||
|
|||||||
@@ -761,6 +761,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1257,
|
||||||
/**/
|
/**/
|
||||||
1256,
|
1256,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user