forked from aniani/vim
patch 9.0.1697: incsearch test not sufficient
Problem: incsearch test not sufficient (after 9.0.1691) Solution: add an additional test Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Christ van Willegen <cvwillegen@gmail.com>
This commit is contained in:
committed by
Christian Brabandt
parent
8878653a44
commit
73b8209266
@@ -2,5 +2,5 @@
|
|||||||
@20
|
@20
|
||||||
@20
|
@20
|
||||||
@20
|
@20
|
||||||
|x+1&&@2| +0&&@16
|
|x+1&&@1|x+0&&| @16
|
||||||
|/|x@2> @15
|
|/|x@1> @16
|
||||||
|
6
src/testdir/dumps/Test_incsearch_restore_view_03.dump
Normal file
6
src/testdir/dumps/Test_incsearch_restore_view_03.dump
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
| +0&#ffffff0@19
|
||||||
|
@20
|
||||||
|
@20
|
||||||
|
@20
|
||||||
|
|x+1&&@2| +0&&@16
|
||||||
|
|/|x@2> @15
|
@@ -2094,8 +2094,10 @@ func Test_incsearch_restore_view()
|
|||||||
let buf = RunVimInTerminal('-S Xincsearch_restore_view', {'rows': 6, 'cols': 20})
|
let buf = RunVimInTerminal('-S Xincsearch_restore_view', {'rows': 6, 'cols': 20})
|
||||||
|
|
||||||
call VerifyScreenDump(buf, 'Test_incsearch_restore_view_01', {})
|
call VerifyScreenDump(buf, 'Test_incsearch_restore_view_01', {})
|
||||||
call term_sendkeys(buf, '/xxx')
|
call term_sendkeys(buf, '/xx')
|
||||||
call VerifyScreenDump(buf, 'Test_incsearch_restore_view_02', {})
|
call VerifyScreenDump(buf, 'Test_incsearch_restore_view_02', {})
|
||||||
|
call term_sendkeys(buf, 'x')
|
||||||
|
call VerifyScreenDump(buf, 'Test_incsearch_restore_view_03', {})
|
||||||
call term_sendkeys(buf, "\<Esc>")
|
call term_sendkeys(buf, "\<Esc>")
|
||||||
call VerifyScreenDump(buf, 'Test_incsearch_restore_view_01', {})
|
call VerifyScreenDump(buf, 'Test_incsearch_restore_view_01', {})
|
||||||
|
|
||||||
|
@@ -695,6 +695,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 */
|
||||||
|
/**/
|
||||||
|
1697,
|
||||||
/**/
|
/**/
|
||||||
1696,
|
1696,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user