Skip to content

Commit

Permalink
Update elixir to 1.15.0-otp-26
Browse files Browse the repository at this point in the history
  • Loading branch information
maennchen committed Jun 21, 2023
1 parent cf44ef7 commit f139256
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
erlang 26.0.1
elixir 1.14.4-otp-25
elixir 1.15.0-otp-26
2 changes: 1 addition & 1 deletion lib/quantum/job.ex
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ defmodule Quantum.Job do

@type name :: atom | reference()
@type state :: :active | :inactive
@type task :: {atom, atom, [any]} | (() -> any)
@type task :: {atom, atom, [any]} | (-> any)
@type timezone :: :utc | String.t()
@type schedule :: Crontab.CronExpression.t()

Expand Down
2 changes: 1 addition & 1 deletion lib/quantum/normalizer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ defmodule Quantum.Normalizer do

@type config_schedule ::
CronExpression.t() | String.t() | {:cron, String.t()} | {:extended, String.t()}
@type config_task :: {module, fun, [any]} | (() -> any)
@type config_task :: {module, fun, [any]} | (-> any)
@type config_name :: String.t() | atom

# Normalize Config Input into `Quantum.Job`.
Expand Down
2 changes: 1 addition & 1 deletion test/quantum/executor_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ defmodule Quantum.ExecutorTest do
assert :ok == wait_for_termination(task)
end)

'#Ref' ++ rest = :erlang.ref_to_list(ref)
~c"#Ref" ++ rest = :erlang.ref_to_list(ref)
assert logs =~ "[error] ** (throw)"
assert logs =~ "#{rest}"
assert_receive %{test_id: ^test_id, type: :start}
Expand Down

0 comments on commit f139256

Please sign in to comment.