Skip to content

Commit cec158f

Browse files
committed
fix test
1 parent f7f8ef4 commit cec158f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/language_server/test/providers/signature_help/signature_test.exs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -697,15 +697,15 @@ defmodule ElixirLS.LanguageServer.Providers.SignatureHelp.SignatureTest do
697697
end
698698
"""
699699

700-
assert Signature.signature(code, 2, 14) == %{
700+
assert %{
701701
active_param: 1,
702702
signatures: [
703703
%{
704704
name: "apply",
705705
params: ["fun", "args"],
706706
documentation:
707707
"Invokes the given anonymous function `fun` with the list of\narguments `args`.",
708-
spec: "@spec apply((... -> any()), [any()]) :: any()"
708+
spec: "@spec apply(" <> _
709709
},
710710
%{
711711
name: "apply",
@@ -715,7 +715,7 @@ defmodule ElixirLS.LanguageServer.Providers.SignatureHelp.SignatureTest do
715715
spec: "@spec apply(module(), function_name :: atom(), [any()]) :: any()"
716716
}
717717
]
718-
}
718+
} = Signature.signature(code, 2, 14)
719719
end
720720

721721
test "finds signatures from local functions" do

0 commit comments

Comments
 (0)