diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2018-05-31 10:58:31 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2018-06-01 10:20:13 +0200 |
commit | 5be3865ce73e692056034e320d5fd525b9db22c2 (patch) | |
tree | c4c90b481953d4fcb9a6fd317edd470f48978576 /test/functional/terminal | |
parent | 3585df3f0b1ad748c2fbab1d101500e7177aad36 (diff) | |
download | rneovim-5be3865ce73e692056034e320d5fd525b9db22c2.tar.gz rneovim-5be3865ce73e692056034e320d5fd525b9db22c2.tar.bz2 rneovim-5be3865ce73e692056034e320d5fd525b9db22c2.zip |
nvim_list_uis: include channel id
Diffstat (limited to 'test/functional/terminal')
-rw-r--r-- | test/functional/terminal/tui_spec.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/functional/terminal/tui_spec.lua b/test/functional/terminal/tui_spec.lua index 0ae5802a01..5603224975 100644 --- a/test/functional/terminal/tui_spec.lua +++ b/test/functional/terminal/tui_spec.lua @@ -253,6 +253,19 @@ describe('tui', function() {4:-- TERMINAL --} | ]]) end) + + it('shows up in nvim_list_uis', function() + feed_data(':echo map(nvim_list_uis(), {k,v -> sort(items(v))})\013') + screen:expect([=[ + {5: }| + [[['ext_cmdline', v:false], ['ext_popupmenu', v:fa| + lse], ['ext_tabline', v:false], ['ext_wildmenu', v| + :false], ['height', 6], ['rgb', v:false], ['width'| + , 50]]] | + {10:Press ENTER or type command to continue}{1: } | + {3:-- TERMINAL --} | + ]=]) + end) end) describe('tui with non-tty file descriptors', function() |