mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
parent
4b7d8e6b87
commit
5a3c86205f
@ -4,6 +4,7 @@ local Screen = require('test.functional.ui.screen')
|
|||||||
local clear = helpers.clear
|
local clear = helpers.clear
|
||||||
local command = helpers.command
|
local command = helpers.command
|
||||||
local eq = helpers.eq
|
local eq = helpers.eq
|
||||||
|
local matches = helpers.matches
|
||||||
local eval = helpers.eval
|
local eval = helpers.eval
|
||||||
local feed = helpers.feed
|
local feed = helpers.feed
|
||||||
local funcs = helpers.funcs
|
local funcs = helpers.funcs
|
||||||
@ -218,9 +219,9 @@ describe('startup', function()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
it('fails on --embed with -es/-Es', function()
|
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' }))
|
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' }))
|
funcs.system({nvim_prog, '--embed', '-Es' }))
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user