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 bfd0694 commit 4c4473bCopy full SHA for 4c4473b
apps/language_server/test/providers/signature_help/signature_test.exs
@@ -1392,7 +1392,16 @@ defmodule ElixirLS.LanguageServer.Providers.SignatureHelp.SignatureTest do
1392
end
1393
"""
1394
1395
- assert Signature.signature(code, 2, 8) == :none
+ if Version.match?(System.version(), "< 1.18.0") do
1396
+ assert Signature.signature(code, 2, 8) == :none
1397
+ else
1398
+ assert %{
1399
+ signatures: [
1400
+ %{name: "defmodule"}
1401
+ ],
1402
+ active_param: 1
1403
+ } = Signature.signature(code, 2, 8)
1404
+ end
1405
1406
1407
test "return :none when no signature is found" do
0 commit comments