File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
apps/language_server/test/providers/signature_help Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -697,15 +697,15 @@ defmodule ElixirLS.LanguageServer.Providers.SignatureHelp.SignatureTest do
697
697
end
698
698
"""
699
699
700
- assert Signature . signature ( code , 2 , 14 ) == % {
700
+ assert % {
701
701
active_param: 1 ,
702
702
signatures: [
703
703
% {
704
704
name: "apply" ,
705
705
params: [ "fun" , "args" ] ,
706
706
documentation:
707
707
"Invokes the given anonymous function `fun` with the list of\n arguments `args`." ,
708
- spec: "@spec apply((... -> any()), [any()]) :: any()"
708
+ spec: "@spec apply(" <> _
709
709
} ,
710
710
% {
711
711
name: "apply" ,
@@ -715,7 +715,7 @@ defmodule ElixirLS.LanguageServer.Providers.SignatureHelp.SignatureTest do
715
715
spec: "@spec apply(module(), function_name :: atom(), [any()]) :: any()"
716
716
}
717
717
]
718
- }
718
+ } = Signature . signature ( code , 2 , 14 )
719
719
end
720
720
721
721
test "finds signatures from local functions" do
You can’t perform that action at this time.
0 commit comments