diff options
Diffstat (limited to 'test/functional/plugin/msgpack_spec.lua')
-rw-r--r-- | test/functional/plugin/msgpack_spec.lua | 8 |
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) |