aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/server_requests_spec.lua
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2015-04-25 21:23:33 +0200
committerJustin M. Keyes <justinkz@gmail.com>2015-04-25 23:50:15 -0400
commit5b94632f6e470f7224404e777301f40c9019fd17 (patch)
tree5a834f1d3c45823f1d18aa6148d72fd7d280895c /test/functional/api/server_requests_spec.lua
parentf8151735a3c6224cc872bb7e20cf97cfaf78c7d2 (diff)
downloadrneovim-5b94632f6e470f7224404e777301f40c9019fd17.tar.gz
rneovim-5b94632f6e470f7224404e777301f40c9019fd17.tar.bz2
rneovim-5b94632f6e470f7224404e777301f40c9019fd17.zip
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.
Diffstat (limited to 'test/functional/api/server_requests_spec.lua')
-rw-r--r--test/functional/api/server_requests_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/api/server_requests_spec.lua b/test/functional/api/server_requests_spec.lua
index 34669c5f29..34bf4b5ace 100644
--- a/test/functional/api/server_requests_spec.lua
+++ b/test/functional/api/server_requests_spec.lua
@@ -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)