test: don't process vimrc #2511

676133aa introduced a new test for calling a nvim instance recursively.
But without '-u NONE', the vimrc (and all plugins) get loaded too, which
breaks the test for things that do stuff on VimEnter.
This commit is contained in:
Marco Hinz
2015-04-25 21:23:33 +02:00
committed by Justin M. Keyes
parent f8151735a3
commit 5b94632f6e

View File

@@ -118,7 +118,7 @@ describe('server -> client', function()
describe('when the client is a recursive vim instance', function()
before_each(function()
nvim('command', "let vim = rpcstart('"..nvim_prog.."', ['--embed'])")
nvim('command', "let vim = rpcstart('"..nvim_prog.."', ['-u', 'NONE', '--embed'])")
neq(0, eval('vim'))
end)