mirror of
https://github.com/neovim/neovim.git
synced 2026-07-21 00:21:38 +00:00
fix(extui): attempt to perform arithmetic on field 'last_emsg' (#35047)
Co-authored-by: Luuk van Baal <luukvbaal@gmail.com>
This commit is contained in:
@@ -202,7 +202,7 @@ describe('messages2', function()
|
||||
screen:expect_unchanged()
|
||||
end)
|
||||
|
||||
it("'readonly' warning can be read", function()
|
||||
it('showmode does not overwrite important messages', function()
|
||||
command('set readonly')
|
||||
feed('i')
|
||||
screen:expect([[
|
||||
@@ -210,5 +210,11 @@ describe('messages2', function()
|
||||
{1:~ }|*12
|
||||
{19:W10: Warning: Changing a readonly file} |
|
||||
]])
|
||||
feed('<Esc>Qi')
|
||||
screen:expect([[
|
||||
^ |
|
||||
{1:~ }|*12
|
||||
{9:E354: Invalid register name: '^@'} |
|
||||
]])
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user