aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/core/startup_spec.lua10
-rw-r--r--test/functional/helpers.lua4
2 files changed, 3 insertions, 11 deletions
diff --git a/test/functional/core/startup_spec.lua b/test/functional/core/startup_spec.lua
index adf29cbe7c..512b79acc5 100644
--- a/test/functional/core/startup_spec.lua
+++ b/test/functional/core/startup_spec.lua
@@ -101,15 +101,7 @@ describe('startup', function()
VIMRUNTIME = os.getenv('VIMRUNTIME'),
},
})
- screen:expect([[
- ^ |
- |
- Entering Debug mode. Type "cont" to continue. |
- nvim_exec2() |
- cmd: aunmenu * |
- > |
- |
- ]])
+ screen:expect({ any = pesc('Entering Debug mode. Type "cont" to continue.') })
fn.chansend(id, 'cont\n')
screen:expect([[
^ |
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index caa14a480b..e5b0819d12 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -37,9 +37,9 @@ module.nvim_argv = {
runtime_set,
'--cmd',
module.nvim_set,
- -- Remove default mappings.
+ -- Remove default user commands and mappings.
'--cmd',
- 'mapclear | mapclear!',
+ 'comclear | mapclear | mapclear!',
-- Make screentest work after changing to the new default color scheme
-- Source 'vim' color scheme without side effects
-- TODO: rewrite tests