Closed ghost closed 9 years ago
Does make distclean
helps?
I ran make distclean between all bisects.
It seems sign_spec.lua does not call clear
in a before/setup hook, so the reported error will happen if its the first test. This patch should fix the problem:
diff --git a/test/functional/ex_cmds/sign_spec.lua b/test/functional/ex_cmds/sign_spec.lua
index 74e1aa4..be213cd 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()
Curiously, I cannot reproduce this on my local environment
FWIW I also saw this issue, so thanks both.
Curiously, I cannot reproduce this on my local environment
Are you running on the latest master, not your builtin-terminal branch? I applied your patch to master, which is where I noticed the issue (which your patch fixed).
I've been running tests on master and on the terminal branch. The error only happens if sign_spec.lua is the first test file ran(session is still nil), and I don't think the test execution order is deterministic.
I'm no longer getting the sign_spec.lua
error, but my tests are failing with this:
https://gist.github.com/Pyrohh/77e9982785a2eef174ab
Already did make distclean
and git clean -fdx
if it makes a difference. I'll open an issue if needed.
git bisect
says that this was introduced in 1ee7ca7bc0739526bf07ddc0cfc9fbbd18523591Perhaps it's the version of
lua
I'm running?