vim-patch:8.2.2608: character input not fully tested

Problem:    Character input not fully tested.
Solution:   Add more tests. (Yegappan Lakshmanan, closes vim/vim#7963)
f4fcedc59d

Cherry-pick related changes from patches 8.2.{0433,0866}.
This commit is contained in:
zeertzjq
2022-07-16 21:39:05 +08:00
parent bc73795a58
commit 780edfc0eb
4 changed files with 66 additions and 8 deletions

View File

@@ -261,6 +261,35 @@ describe('messages', function()
^100 |
|
]])
-- Execute a : command from the more prompt
feed(':%p#\n')
screen:expect([[
{2: 1 }1 |
{2: 2 }2 |
{2: 3 }3 |
{2: 4 }4 |
{2: 5 }5 |
{1:-- More --}^ |
]])
feed(':')
screen:expect([[
{2: 1 }1 |
{2: 2 }2 |
{2: 3 }3 |
{2: 4 }4 |
{2: 5 }5 |
:^ |
]])
feed("echo 'Hello'\n")
screen:expect([[
{2: 2 }2 |
{2: 3 }3 |
{2: 4 }4 |
{2: 5 }5 |
Hello |
{1:Press ENTER or type command to continue}^ |
]])
end)
-- oldtest: Test_quit_long_message()