test/man_spec: remove plugin_helpers.reset()

The call to plugin_helpers.reset() is redundant with the clear() call
above it.  Probably just a copy-paste mistake.

Avoids exit_event race #8813.

Helped-by: Björn Linse <bjorn.linse@gmail.com>
This commit is contained in:
Justin M. Keyes 2019-08-05 04:51:49 +02:00
parent eec529cf9e
commit d4a0b6c4e1

View File

@ -1,5 +1,4 @@
local helpers = require('test.functional.helpers')(after_each)
local plugin_helpers = require('test.functional.plugin.helpers')
local Screen = require('test.functional.ui.screen')
local command, eval, rawfeed = helpers.command, helpers.eval, helpers.rawfeed
local clear = helpers.clear
@ -9,7 +8,6 @@ describe(':Man', function()
local screen
before_each(function()
plugin_helpers.reset()
clear()
command('syntax on')
command('set filetype=man')