aboutsummaryrefslogtreecommitdiff
path: root/test/functional/core/startup_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-09-13 16:29:59 -0700
committerJustin M. Keyes <justinkz@gmail.com>2019-09-13 16:31:21 -0700
commit5a3c86205fb46505ff22cd50eb5de48e1a95c4e6 (patch)
treecbbf5687fa1ca69a68b85d7aebdb156d0274f324 /test/functional/core/startup_spec.lua
parent4b7d8e6b879ef064007e0229e51c139f94b72078 (diff)
downloadrneovim-5a3c86205fb46505ff22cd50eb5de48e1a95c4e6.tar.gz
rneovim-5a3c86205fb46505ff22cd50eb5de48e1a95c4e6.tar.bz2
rneovim-5a3c86205fb46505ff22cd50eb5de48e1a95c4e6.zip
test: fix failure on Windows (allow ".exe")
ref 77594d55f709
Diffstat (limited to 'test/functional/core/startup_spec.lua')
-rw-r--r--test/functional/core/startup_spec.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/core/startup_spec.lua b/test/functional/core/startup_spec.lua
index 5098d764ff..cc10d36a10 100644
--- a/test/functional/core/startup_spec.lua
+++ b/test/functional/core/startup_spec.lua
@@ -4,6 +4,7 @@ local Screen = require('test.functional.ui.screen')
local clear = helpers.clear
local command = helpers.command
local eq = helpers.eq
+local matches = helpers.matches
local eval = helpers.eval
local feed = helpers.feed
local funcs = helpers.funcs
@@ -218,9 +219,9 @@ describe('startup', function()
end)
it('fails on --embed with -es/-Es', function()
- eq('nvim: --embed conflicts with -es/-Es\nMore info with "nvim -h"\n',
+ matches('nvim[.exe]*: %-%-embed conflicts with %-es/%-Es',
funcs.system({nvim_prog, '--embed', '-es' }))
- eq('nvim: --embed conflicts with -es/-Es\nMore info with "nvim -h"\n',
+ matches('nvim[.exe]*: %-%-embed conflicts with %-es/%-Es',
funcs.system({nvim_prog, '--embed', '-Es' }))
end)