We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Enum.each()
1 parent 2ce1171 commit 73eaa68Copy full SHA for 73eaa68
1 file changed
test/support/philomena_web/tag_changes.ex
@@ -27,13 +27,13 @@ defmodule PhilomenaWeb.Test.TagChanges do
27
removed_tags = Keyword.get(diff, :remove, [])
28
current_tags = ctx.image.tags |> Enum.map(& &1.name)
29
30
- for tag <- added_tags do
+ Enum.each(added_tags, fn tag ->
31
assert tag not in current_tags
32
- end
+ end)
33
34
- for tag <- removed_tags do
+ Enum.each(removed_tags, fn tag ->
35
assert tag in current_tags
36
37
38
new_tags =
39
current_tags
0 commit comments