aboutsummaryrefslogtreecommitdiff
path: root/test/functional/plugin/msgpack_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-08-06 01:36:01 +0200
committerGitHub <noreply@github.com>2019-08-06 01:36:01 +0200
commit067a39ba854cc02a750911ead968a744b2769aac (patch)
tree05d9594c9c8a0f89d49415a611d19c713aef705c /test/functional/plugin/msgpack_spec.lua
parenta29358dc58a11c7f6b82844d8309d5a5b2c8cb91 (diff)
parentf6c94124368bd14a83e83d4f172b8939d0503daf (diff)
downloadrneovim-067a39ba854cc02a750911ead968a744b2769aac.tar.gz
rneovim-067a39ba854cc02a750911ead968a744b2769aac.tar.bz2
rneovim-067a39ba854cc02a750911ead968a744b2769aac.zip
Merge #10701 from justinmk/test-fixes
test: Eliminate plugin/helpers.lua
Diffstat (limited to 'test/functional/plugin/msgpack_spec.lua')
-rw-r--r--test/functional/plugin/msgpack_spec.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/plugin/msgpack_spec.lua b/test/functional/plugin/msgpack_spec.lua
index 2ce9974812..d841cb8ce0 100644
--- a/test/functional/plugin/msgpack_spec.lua
+++ b/test/functional/plugin/msgpack_spec.lua
@@ -1,15 +1,15 @@
local helpers = require('test.functional.helpers')(after_each)
+local clear = helpers.clear
local meths = helpers.meths
local eq, nvim_eval, nvim_command, exc_exec =
helpers.eq, helpers.eval, helpers.command, helpers.exc_exec
local ok = helpers.ok
local NIL = helpers.NIL
-local plugin_helpers = require('test.functional.plugin.helpers')
-local reset = plugin_helpers.reset
-
describe('autoload/msgpack.vim', function()
- before_each(reset)
+ before_each(function()
+ clear{args={'-u', 'NORC'}}
+ end)
local sp = function(typ, val)
return ('{"_TYPE": v:msgpack_types.%s, "_VAL": %s}'):format(typ, val)