aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/vim_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-06-30 15:30:54 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-07-01 10:17:39 +0800
commit610cf9f95032bd219cb5695d169fe2cd698ec307 (patch)
treee294c5bcae1401e0ba3fa37ed6c60417d47f960f /test/functional/api/vim_spec.lua
parentcf8df141f3c7e706c86aadba404ae8ad54d5c795 (diff)
downloadrneovim-610cf9f95032bd219cb5695d169fe2cd698ec307.tar.gz
rneovim-610cf9f95032bd219cb5695d169fe2cd698ec307.tar.bz2
rneovim-610cf9f95032bd219cb5695d169fe2cd698ec307.zip
vim-patch:8.0.1570: can't use :popup for a menu in the terminal
Problem: Can't use :popup for a menu in the terminal. (Wei Zhang) Solution: Make :popup work in the terminal. Also fix that entries were included that don't work in the current state. https://github.com/vim/vim/commit/29a2c08d792e4458a0af8371f5341394829fce29
Diffstat (limited to 'test/functional/api/vim_spec.lua')
-rw-r--r--test/functional/api/vim_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/api/vim_spec.lua b/test/functional/api/vim_spec.lua
index 858463efbd..002bcd92a4 100644
--- a/test/functional/api/vim_spec.lua
+++ b/test/functional/api/vim_spec.lua
@@ -3748,7 +3748,7 @@ describe('API', function()
eq("foo", meths.cmd({ cmd = "Foo" }, { output = true }))
end)
it('errors if command is not implemented', function()
- eq("Command not implemented: popup", pcall_err(meths.cmd, { cmd = "popup" }, {}))
+ eq("Command not implemented: winpos", pcall_err(meths.cmd, { cmd = "winpos" }, {}))
end)
it('works with empty arguments list', function()
meths.cmd({ cmd = "update" }, {})