diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3192f2c..7f6413a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,8 @@ jobs: lint: true - elixir: '1.16' erlang: '26.2.5' + - elixir: '1.15' + erlang: '25.3.2.13' steps: - uses: actions/checkout@v4 - uses: actions/cache@v4 diff --git a/mix.exs b/mix.exs index 3a7ed67..f3f6216 100644 --- a/mix.exs +++ b/mix.exs @@ -5,7 +5,7 @@ defmodule TowerEmail.MixProject do [ app: :tower_email, version: "0.1.0", - elixir: "~> 1.16", + elixir: "~> 1.15", start_permanent: Mix.env() == :prod, deps: deps() ] diff --git a/test/tower_email_test.exs b/test/tower_email_test.exs index 3cea989..1d142bb 100644 --- a/test/tower_email_test.exs +++ b/test/tower_email_test.exs @@ -33,7 +33,7 @@ defmodule TowerEmailTest do @tag capture_log: true test "reports long match error" do in_unlinked_process(fn -> - %{eleven: "eleven"} = %{ + [eleven: "eleven"] = [ one: "one", two: "two", three: "three", @@ -44,7 +44,7 @@ defmodule TowerEmailTest do eight: "eight", nine: "nine", ten: "ten" - } + ] end) # TODO: Support waiting on assert_email_sent with a timeout @@ -54,7 +54,7 @@ defmodule TowerEmailTest do :email, %{ subject: - ~s([tower_email][test] MatchError: no match of right hand side value: %{one: "one", two: "two", three: "three", four: "f...) + ~s([tower_email][test] MatchError: no match of right hand side value: [one: "one", two: "two", three: "three", four: "fo...) } }, 1_000