aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/034_user_function_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/034_user_function_spec.lua')
-rw-r--r--test/functional/legacy/034_user_function_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/legacy/034_user_function_spec.lua b/test/functional/legacy/034_user_function_spec.lua
index f1337584f0..38989cd982 100644
--- a/test/functional/legacy/034_user_function_spec.lua
+++ b/test/functional/legacy/034_user_function_spec.lua
@@ -3,7 +3,7 @@
-- Also test that a builtin function cannot be replaced.
-- Also test for regression when calling arbitrary expression.
-local helpers = require('test.functional.helpers')
+local helpers = require('test.functional.helpers')(after_each)
local feed, insert, source = helpers.feed, helpers.insert, helpers.source
local clear, execute, expect = helpers.clear, helpers.execute, helpers.expect