aboutsummaryrefslogtreecommitdiff
path: root/test/functional/plugin/msgpack_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-08-05 10:25:49 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-08-05 23:55:57 +0200
commit330a6713bf888b1b612a1ebebb5d95bb0b31cd53 (patch)
treea06fb188af5c808f31d808e7183cab0dbde23e64 /test/functional/plugin/msgpack_spec.lua
parent7086751c5e4eb3cfee0b98df0d3cedc8bff47d35 (diff)
downloadrneovim-330a6713bf888b1b612a1ebebb5d95bb0b31cd53.tar.gz
rneovim-330a6713bf888b1b612a1ebebb5d95bb0b31cd53.tar.bz2
rneovim-330a6713bf888b1b612a1ebebb5d95bb0b31cd53.zip
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)