From 696adeb0f652e32d5865e606117c3408ead6c97c Mon Sep 17 00:00:00 2001 From: Jurica Bradaric Date: Mon, 1 Feb 2016 08:52:24 +0100 Subject: [PATCH] Use before_each instead of setup in the test. --- test/functional/legacy/search_mbyte_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/legacy/search_mbyte_spec.lua b/test/functional/legacy/search_mbyte_spec.lua index 58c064161b..832fc1c831 100644 --- a/test/functional/legacy/search_mbyte_spec.lua +++ b/test/functional/legacy/search_mbyte_spec.lua @@ -5,7 +5,7 @@ local feed, insert, source = helpers.feed, helpers.insert, helpers.source local clear, execute, expect = helpers.clear, helpers.execute, helpers.expect describe('search_mbyte', function() - setup(clear) + before_each(clear) it('is working', function() insert([=[