diff options
Diffstat (limited to 'test/functional/lua/ui_event_spec.lua')
-rw-r--r-- | test/functional/lua/ui_event_spec.lua | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/test/functional/lua/ui_event_spec.lua b/test/functional/lua/ui_event_spec.lua index 7e890e8ae0..27640d6066 100644 --- a/test/functional/lua/ui_event_spec.lua +++ b/test/functional/lua/ui_event_spec.lua @@ -270,48 +270,6 @@ describe('vim.ui_attach', function() }, }, }) - -- No fast context for prompt message kinds - feed(':%s/Function/Replacement/c<cr>') - screen:expect({ - grid = [[ - ^E122: {10:Function} Foo already exists, add !| - to replace it | - replace with Replacement (y/n/a/q/l/^E/^| - Y)? | - {1:~ }| - ]], - cmdline = { { abort = false } }, - messages = { - { - content = { { 'replace with Replacement (y/n/a/q/l/^E/^Y)?', 6, 18 } }, - history = true, - kind = 'confirm_sub', - }, - }, - }) - feed('<esc>:call inputlist(["Select:", "One", "Two"])<cr>') - screen:expect({ - grid = [[ - E122: {10:Function} Foo already exists, add !| - to replace it | - Type number and <Enter> or click with th| - e mouse (q or empty cancels): | - {1:^~ }| - ]], - cmdline = { { abort = false } }, - messages = { - { - content = { { 'Select:\nOne\nTwo\n' } }, - history = false, - kind = 'list_cmd', - }, - { - content = { { 'Type number and <Enter> or click with the mouse (q or empty cancels): ' } }, - history = false, - kind = 'number_prompt', - }, - }, - }) end) end) |