We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 127596f commit 4d0c09fCopy full SHA for 4d0c09f
apps/language_server/lib/language_server/providers/code_lens/test.ex
@@ -80,10 +80,10 @@ defmodule ElixirLS.LanguageServer.Providers.CodeLens.Test do
80
runnable_functions = [test: 3, test: 2, doctest: 2, doctest: 1]
81
82
for func <- runnable_functions,
83
- {line, _col} <- calls_to(calls_list, func) do
84
- {_line, %{scope_id: scope_id, module: module}} =
85
- Enum.find(lines_to_env_list, fn {env_line, _env} -> env_line == line end)
86
-
+ {line, _col} <- calls_to(calls_list, func),
+ {_line, %{scope_id: scope_id, module: module}} <- [
+ Enum.find(lines_to_env_list, fn {env_line, _env} -> env_line == line end)
+ ] do
87
describe =
88
describe_blocks
89
|> Enum.find(nil, fn describe ->
0 commit comments