aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/functional/lua/ui_event_spec.lua2
-rw-r--r--test/functional/ui/messages_spec.lua14
2 files changed, 4 insertions, 12 deletions
diff --git a/test/functional/lua/ui_event_spec.lua b/test/functional/lua/ui_event_spec.lua
index 8159a4c91c..5dcb13a7d0 100644
--- a/test/functional/lua/ui_event_spec.lua
+++ b/test/functional/lua/ui_event_spec.lua
@@ -362,7 +362,7 @@ describe('vim.ui_attach', function()
messages = {
{
content = { { 'Press ENTER or type command to continue', 100, 18 } },
- history = true,
+ history = false,
kind = 'return_prompt',
},
},
diff --git a/test/functional/ui/messages_spec.lua b/test/functional/ui/messages_spec.lua
index 1e18cddca1..9b01150411 100644
--- a/test/functional/ui/messages_spec.lua
+++ b/test/functional/ui/messages_spec.lua
@@ -181,20 +181,12 @@ describe('ui/ext_messages', function()
cmdline = { { abort = false } },
messages = {
{
- content = { { 'Error detected while processing :', 9, 6 } },
- history = true,
- kind = 'emsg',
- },
- {
- content = { { 'E605: Exception not caught: foo', 9, 6 } },
+ content = {
+ { 'Error detected while processing :\nE605: Exception not caught: foo', 9, 6 },
+ },
history = true,
kind = 'emsg',
},
- {
- content = { { 'Press ENTER or type command to continue', 6, 18 } },
- history = false,
- kind = 'return_prompt',
- },
},
}