Skip to content

Commit 2973daa

Browse files
committed
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)
1 parent a88254f commit 2973daa

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/testdir/test_search.vim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,3 +697,7 @@ func Test_search_undefined_behaviour()
697697
call term_sendkeys(g:buf, ":qa!\<cr>")
698698
bwipe!
699699
endfunc
700+
701+
func Test_search_undefined_behaviour2()
702+
call search("\%UC0000000")
703+
endfunc

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,8 @@ static char *(features[]) =
761761

762762
static int included_patches[] =
763763
{ /* Add new patch number below this line */
764+
/**/
765+
1257,
764766
/**/
765767
1256,
766768
/**/

0 commit comments

Comments
 (0)