Skip to content

Commit f542a09

Browse files
committed
fix tests
1 parent 1f4f7e1 commit f542a09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/elixir_sense/core/metadata_builder_test.exs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1721,7 +1721,7 @@ defmodule ElixirSense.Core.MetadataBuilderTest do
17211721
|> string_to_state
17221722

17231723
if Version.match?(System.version(), "< 1.15.0") do
1724-
assert [%VarInfo{type: {:intersection, [{:atom, :my_var}, {:local_call, :x, []}]}}] =
1724+
assert [%VarInfo{type: {:intersection, [{:atom, :my_var}, {:local_call, :x, _, []}]}}] =
17251725
state |> get_line_vars(3)
17261726
else
17271727
assert [%VarInfo{type: {:atom, :my_var}}] = state |> get_line_vars(3)
@@ -1739,7 +1739,7 @@ defmodule ElixirSense.Core.MetadataBuilderTest do
17391739
|> string_to_state
17401740

17411741
if Version.match?(System.version(), "< 1.15.0") do
1742-
assert [%VarInfo{type: {:intersection, [{:atom, :my_var}, {:local_call, :x, []}]}}] =
1742+
assert [%VarInfo{type: {:intersection, [{:atom, :my_var}, {:local_call, :x, _, []}]}}] =
17431743
state |> get_line_vars(3)
17441744
else
17451745
assert [%VarInfo{type: {:atom, :my_var}}] = state |> get_line_vars(3)
@@ -2216,7 +2216,7 @@ defmodule ElixirSense.Core.MetadataBuilderTest do
22162216
] = state |> get_line_vars(16)
22172217

22182218
if Version.match?(System.version(), "< 1.15.0") do
2219-
assert maybe_local_call == {:local_call, :now, []}
2219+
assert maybe_local_call == {:local_call, :now, {11, 12}, []}
22202220
else
22212221
assert maybe_local_call == nil
22222222
end

0 commit comments

Comments
 (0)