Use before_each instead of setup in the test.

This commit is contained in:
Jurica Bradaric
2016-02-01 08:52:24 +01:00
parent cabf079ae4
commit 696adeb0f6

View File

@@ -5,7 +5,7 @@ local feed, insert, source = helpers.feed, helpers.insert, helpers.source
local clear, execute, expect = helpers.clear, helpers.execute, helpers.expect local clear, execute, expect = helpers.clear, helpers.execute, helpers.expect
describe('search_mbyte', function() describe('search_mbyte', function()
setup(clear) before_each(clear)
it('is working', function() it('is working', function()
insert([=[ insert([=[