From 9d02e5b984bb540567766941cff4d03f0b6e1837 Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Sat, 28 Mar 2015 12:03:13 -0300 Subject: [PATCH] test: Add missing `before_each` call to sign_spec.lua Without this the test will inherit the previous test environment, causing random failures. Close #2243 --- test/functional/ex_cmds/sign_spec.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/test/functional/ex_cmds/sign_spec.lua b/test/functional/ex_cmds/sign_spec.lua index 74e1aa4702..be213cd0d9 100644 --- a/test/functional/ex_cmds/sign_spec.lua +++ b/test/functional/ex_cmds/sign_spec.lua @@ -4,6 +4,7 @@ local clear, nvim, buffer, curbuf, curwin, eq, ok = helpers.eq, helpers.ok describe('sign', function() + before_each(clear) describe('unplace {id}', function() describe('without specifying buffer', function() it('deletes the sign from all buffers', function()