Mercurial > vim
comparison src/testdir/test_search.vim @ 32756:ce3269eea32c v9.0.1697
patch 9.0.1697: incsearch test not sufficient
Commit: https://github.com/vim/vim/commit/73b8209266f0cd5c6d4df77b3700172d9c26df31
Author: Christ van Willegen <cvwillegen@gmail.com>
Date: Sat Aug 12 20:17:26 2023 +0200
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>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 12 Aug 2023 20:30:04 +0200 |
parents | df63fa700fc6 |
children |
comparison
equal
deleted
inserted
replaced
32755:f2b8b8b13971 | 32756:ce3269eea32c |
---|---|
2092 [CODE] | 2092 [CODE] |
2093 call writefile(lines, 'Xincsearch_restore_view', 'D') | 2093 call writefile(lines, 'Xincsearch_restore_view', 'D') |
2094 let buf = RunVimInTerminal('-S Xincsearch_restore_view', {'rows': 6, 'cols': 20}) | 2094 let buf = RunVimInTerminal('-S Xincsearch_restore_view', {'rows': 6, 'cols': 20}) |
2095 | 2095 |
2096 call VerifyScreenDump(buf, 'Test_incsearch_restore_view_01', {}) | 2096 call VerifyScreenDump(buf, 'Test_incsearch_restore_view_01', {}) |
2097 call term_sendkeys(buf, '/xxx') | 2097 call term_sendkeys(buf, '/xx') |
2098 call VerifyScreenDump(buf, 'Test_incsearch_restore_view_02', {}) | 2098 call VerifyScreenDump(buf, 'Test_incsearch_restore_view_02', {}) |
2099 call term_sendkeys(buf, 'x') | |
2100 call VerifyScreenDump(buf, 'Test_incsearch_restore_view_03', {}) | |
2099 call term_sendkeys(buf, "\<Esc>") | 2101 call term_sendkeys(buf, "\<Esc>") |
2100 call VerifyScreenDump(buf, 'Test_incsearch_restore_view_01', {}) | 2102 call VerifyScreenDump(buf, 'Test_incsearch_restore_view_01', {}) |
2101 | 2103 |
2102 call StopVimInTerminal(buf) | 2104 call StopVimInTerminal(buf) |
2103 endfunc | 2105 endfunc |