mirror of
https://github.com/neovim/neovim.git
synced 2025-11-08 19:45:12 +00:00
functests: Uncomment {REDRAW} part of “works” test
This commit is contained in:
@@ -214,18 +214,20 @@ describe('Command-line coloring', function()
|
|||||||
{EOB:~ }|
|
{EOB:~ }|
|
||||||
:echo {RBP1:(}{RBP2:(}42{RBP2:)}^ |
|
:echo {RBP1:(}{RBP2:(}42{RBP2:)}^ |
|
||||||
]])
|
]])
|
||||||
-- FIXME
|
-- Bug in input() handling: {REDRAW} will erase the whole prompt up until
|
||||||
-- feed('{REDRAW}')
|
-- user types something. It exists in Vim as well, so using `h<BS>` as
|
||||||
-- screen:expect([[
|
-- a workaround.
|
||||||
-- |
|
feed('{REDRAW}h<BS>')
|
||||||
-- {EOB:~ }|
|
screen:expect([[
|
||||||
-- {EOB:~ }|
|
|
|
||||||
-- {EOB:~ }|
|
{EOB:~ }|
|
||||||
-- {EOB:~ }|
|
{EOB:~ }|
|
||||||
-- {EOB:~ }|
|
{EOB:~ }|
|
||||||
-- {EOB:~ }|
|
{EOB:~ }|
|
||||||
-- :echo {RBP1:(}{RBP2:(}42{RBP2:)}^ |
|
{EOB:~ }|
|
||||||
-- ]])
|
{EOB:~ }|
|
||||||
|
:echo {RBP1:(}{RBP2:(}42{RBP2:)}^ |
|
||||||
|
]])
|
||||||
end)
|
end)
|
||||||
for _, func_part in ipairs({'', 'n', 'msg'}) do
|
for _, func_part in ipairs({'', 'n', 'msg'}) do
|
||||||
it('disables :echo' .. func_part .. ' messages', function()
|
it('disables :echo' .. func_part .. ' messages', function()
|
||||||
|
|||||||
Reference in New Issue
Block a user