diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-05-09 23:31:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-09 23:31:30 +0200 |
commit | d818135e3f45fc72ceba19c0ffc035ed77d120af (patch) | |
tree | 83fc23b9a1f8489baa073559e48dab23fcc59dae /test/functional/api/vim_spec.lua | |
parent | b6ad20602498e260b3c7ede79699d986e96903da (diff) | |
parent | b9ad12e6c2fa557e2c2c2f2f6c40fabc0cc89efd (diff) | |
download | rneovim-d818135e3f45fc72ceba19c0ffc035ed77d120af.tar.gz rneovim-d818135e3f45fc72ceba19c0ffc035ed77d120af.tar.bz2 rneovim-d818135e3f45fc72ceba19c0ffc035ed77d120af.zip |
Merge #9992 from justinmk/ui-upgrade
UI/nvim_ui_attach(): add "override" option
Diffstat (limited to 'test/functional/api/vim_spec.lua')
-rw-r--r-- | test/functional/api/vim_spec.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/api/vim_spec.lua b/test/functional/api/vim_spec.lua index c508ca37db..2178abab53 100644 --- a/test/functional/api/vim_spec.lua +++ b/test/functional/api/vim_spec.lua @@ -1284,7 +1284,7 @@ describe('API', function() end) it('returns attached UIs', function() local screen = Screen.new(20, 4) - screen:attach() + screen:attach({override=true}) local expected = { { chan = 1, @@ -1299,6 +1299,7 @@ describe('API', function() ext_messages = false, height = 4, rgb = true, + override = true, width = 20, } } @@ -1308,6 +1309,7 @@ describe('API', function() screen = Screen.new(44, 99) screen:attach({ rgb = false }) expected[1].rgb = false + expected[1].override = false expected[1].width = 44 expected[1].height = 99 eq(expected, nvim("list_uis")) |