Skip to content

Commit

Permalink
Prepared for 27.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksei Matiushkin committed May 22, 2024
1 parent 9813cbe commit e7f99fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/estructura_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ defmodule EstructuraTest do
Full.put!(@full, :foo, "42a")
end

assert_raise KeyError, "key :not_a_field not found in: Estructura.Full", fn ->
assert_raise KeyError, ~r/key :not_a_field not found in: Estructura.Full/, fn ->
Full.put!(@full, :not_a_field, 42)
end
end
Expand Down Expand Up @@ -67,7 +67,7 @@ defmodule EstructuraTest do
~r/Estructura.Void does not implement the Access behaviour/,
fn -> pop_in(@void, [:foo]) end

assert_raise KeyError, "key :not_a_field not found in: Estructura.Full", fn ->
assert_raise KeyError, ~r/key :not_a_field not found in: Estructura.Full/, fn ->
put_in(@full, [:not_a_field], 42)
end
end
Expand Down

0 comments on commit e7f99fa

Please sign in to comment.