From fd04877eb087b64d744a20db643f3abd630c70aa Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sat, 18 May 2019 14:09:43 +0200 Subject: test: remove use of require('test.helpers') The test.functional.helpers and test.unit.helpers modules now include all of the public functions from test.helpers, so there is no need to separately require('test.helpers'). --- test/functional/core/channels_spec.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/functional/core') diff --git a/test/functional/core/channels_spec.lua b/test/functional/core/channels_spec.lua index 0137092eb5..ddaed1c448 100644 --- a/test/functional/core/channels_spec.lua +++ b/test/functional/core/channels_spec.lua @@ -1,7 +1,5 @@ -local global_helpers = require('test.helpers') -local uname = global_helpers.uname - local helpers = require('test.functional.helpers')(after_each) +local uname = helpers.uname local clear, eq, eval, next_msg, ok, source = helpers.clear, helpers.eq, helpers.eval, helpers.next_msg, helpers.ok, helpers.source local command, funcs, meths = helpers.command, helpers.funcs, helpers.meths -- cgit