mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-09-20 01:55:56 +08:00
Bump to Elixir 1.15 (#1989)
This commit is contained in:
parent
ece450f937
commit
20e13e01db
|
@ -534,14 +534,12 @@ defmodule Livebook.Intellisense do
|
|||
name -> name
|
||||
end
|
||||
|
||||
# TODO: remove the first check on Elixir v1.15.0
|
||||
is_otp? =
|
||||
app == :erts or
|
||||
case :code.which(app || module) do
|
||||
:preloaded -> true
|
||||
[_ | _] = path -> List.starts_with?(path, :code.lib_dir())
|
||||
_ -> false
|
||||
end
|
||||
case :code.which(app || module) do
|
||||
:preloaded -> true
|
||||
[_ | _] = path -> List.starts_with?(path, :code.lib_dir())
|
||||
_ -> false
|
||||
end
|
||||
|
||||
cond do
|
||||
is_otp? ->
|
||||
|
|
|
@ -505,8 +505,6 @@ defmodule Livebook.Runtime.EvaluatorTest do
|
|||
%{column: 4, details: _, end_line: 20, line: 19, status: :failed}}
|
||||
end
|
||||
|
||||
# TODO: Run this test on Elixir v1.15+
|
||||
@tag :skip
|
||||
test "multiple assertions at once", %{evaluator: evaluator} do
|
||||
code = ~S'''
|
||||
defmodule Livebook.Runtime.EvaluatorTest.DoctestsMiddle do
|
||||
|
|
Loading…
Reference in a new issue