Skip to content

Commit b573058

Browse files
committed
Run mix format
1 parent 7192640 commit b573058

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

test/polymorphic_embed_test.exs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1922,9 +1922,7 @@ defmodule PolymorphicEmbedTest do
19221922
]
19231923
else
19241924
assert f.errors == [
1925-
name:
1926-
{"can't be blank",
1927-
[validation: :required]}
1925+
name: {"can't be blank", [validation: :required]}
19281926
]
19291927
end
19301928

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

20242022
assert %{
2025-
number: {"can't be blank", [validation: :required]},
2026-
country_code: {"can't be blank", [validation: :required]},
2027-
provider: {"can't be blank", [validation: :required]}
2028-
} = Map.new(f.errors)
2023+
number: {"can't be blank", [validation: :required]},
2024+
country_code: {"can't be blank", [validation: :required]},
2025+
provider: {"can't be blank", [validation: :required]}
2026+
} = Map.new(f.errors)
20292027

20302028
"from safe_inputs_for #{generator}"
20312029
end)

0 commit comments

Comments
 (0)