diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-31 18:44:41 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-31 18:44:41 -0500 |
| commit | f3a8c930a4b901c5313701849e7010f098bf22e6 (patch) | |
| tree | 125cace41e958056812accbeb5876e154a1be85d /test/functional/ui/screen.lua | |
| parent | 74b343a6f23de43590ab79750848f66e2fa9a7f7 (diff) | |
| parent | b01a60b1aaaa6152b58af96c5054f697bbc3a31e (diff) | |
| download | rneovim-f3a8c930a4b901c5313701849e7010f098bf22e6.tar.gz rneovim-f3a8c930a4b901c5313701849e7010f098bf22e6.tar.bz2 rneovim-f3a8c930a4b901c5313701849e7010f098bf22e6.zip | |
Merge pull request #13653 from janlazo/revert-10848
Revert #10848
Diffstat (limited to 'test/functional/ui/screen.lua')
| -rw-r--r-- | test/functional/ui/screen.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua index 5104c58796..8fa9fcc42f 100644 --- a/test/functional/ui/screen.lua +++ b/test/functional/ui/screen.lua @@ -807,9 +807,7 @@ function Screen:_handle_mouse_off() end function Screen:_handle_mode_change(mode, idx) - if self._mode_info ~= nil then - assert(mode == self._mode_info[idx+1].name) - end + assert(mode == self._mode_info[idx+1].name) self.mode = mode end |
