diff options
-rw-r--r-- | test/functional/core/startup_spec.lua | 5 |
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) |