Skip to content

Commit

Permalink
Run mix format
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuprog committed May 25, 2024
1 parent 7192640 commit b573058
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions test/polymorphic_embed_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -1922,9 +1922,7 @@ defmodule PolymorphicEmbedTest do
]
else
assert f.errors == [
name:
{"can't be blank",
[validation: :required]}
name: {"can't be blank", [validation: :required]}
]
end

Expand Down Expand Up @@ -2022,10 +2020,10 @@ defmodule PolymorphicEmbedTest do
assert f.impl == Phoenix.HTML.FormData.Ecto.Changeset

assert %{
number: {"can't be blank", [validation: :required]},
country_code: {"can't be blank", [validation: :required]},
provider: {"can't be blank", [validation: :required]}
} = Map.new(f.errors)
number: {"can't be blank", [validation: :required]},
country_code: {"can't be blank", [validation: :required]},
provider: {"can't be blank", [validation: :required]}
} = Map.new(f.errors)

"from safe_inputs_for #{generator}"
end)
Expand Down

0 comments on commit b573058

Please sign in to comment.