mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
committed by
Justin M. Keyes
parent
10e885bdfc
commit
643ef257b3
@@ -65,4 +65,11 @@ describe('notify', function()
|
||||
eq(nest_level, act_nest_level)
|
||||
end)
|
||||
end)
|
||||
|
||||
it('unsubscribe non-existing event #8745', function()
|
||||
nvim('subscribe', 'event1')
|
||||
nvim('unsubscribe', 'doesnotexist')
|
||||
nvim('unsubscribe', 'event1')
|
||||
eq(2, eval('1+1')) -- Still alive?
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user