Skip to content

Commit 6cd0415

Browse files
authored
Set minimum Elixir 1.13 to 1.13.0 (#643)
1 parent 663bcff commit 6cd0415

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/language_server/lib/language_server/mix_shell.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ defmodule ElixirLS.LanguageServer.MixShell do
5656
end
5757
else
5858
# TODO convert to to normal call when we require elixir 1.13
59-
if Version.match?(System.version(), "< 1.13.0-rc.0") do
59+
if Version.match?(System.version(), "< 1.13.0") do
6060
apply(Mix.Shell.IO, :yes?, [message])
6161
else
6262
apply(Mix.Shell.IO, :yes?, [message, options])

apps/language_server/test/providers/code_lens/type_spec/contract_translator_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ defmodule ElixirLS.LanguageServer.Providers.CodeLens.TypeSpec.ContractTranslator
146146
test "map with fields" do
147147
contract = '(any()) -> \#{integer()=>any(), 1:=atom(), abc:=4}'
148148

149-
expected = if Version.match?(System.version(), "< 1.13.0-rc.0") do
149+
expected = if Version.match?(System.version(), "< 1.13.0") do
150150
"foo(any) :: %{optional(integer) => any, 1 => atom, :abc => 4}"
151151
else
152152
"foo(any) :: %{optional(integer) => any, 1 => atom, abc: 4}"

apps/language_server/test/providers/execute_command/expand_macro_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ defmodule ElixirLS.LanguageServer.Providers.ExecuteCommand.ExpandMacroTest do
6464
}
6565
})
6666

67-
if Version.match?(System.version(), "< 1.13.0-rc.0") do
67+
if Version.match?(System.version(), "< 1.13.0") do
6868
assert res == %{
6969
"expand" => """
7070
require(ElixirLS.Test.MacroA)

0 commit comments

Comments
 (0)