Skip to content

Commit 0551ddc

Browse files
Jez-Aclaude
andcommitted
style: Run mix format
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 99ee28f commit 0551ddc

1 file changed

Lines changed: 25 additions & 4 deletions

File tree

test/zexbox/auto_escalation_test.exs

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,35 @@ defmodule Zexbox.AutoEscalationTest do
5757
# Capturing mock helper — returns the opts that were passed to create_issue.
5858
defp capture_create_issue do
5959
me = self()
60-
[create_issue: fn opts -> send(me, {:create_opts, opts}); {:ok, @created_ticket} end]
60+
61+
[
62+
create_issue: fn opts ->
63+
send(me, {:create_opts, opts})
64+
{:ok, @created_ticket}
65+
end
66+
]
6167
end
6268

6369
defp capture_add_comment do
6470
me = self()
65-
[add_comment: fn opts -> send(me, {:comment_opts, opts}); {:ok, %{}} end]
71+
72+
[
73+
add_comment: fn opts ->
74+
send(me, {:comment_opts, opts})
75+
{:ok, %{}}
76+
end
77+
]
6678
end
6779

6880
defp capture_search do
6981
me = self()
70-
[search_latest_issues: fn opts -> send(me, {:search_opts, opts}); {:ok, []} end]
82+
83+
[
84+
search_latest_issues: fn opts ->
85+
send(me, {:search_opts, opts})
86+
{:ok, []}
87+
end
88+
]
7189
end
7290

7391
setup do
@@ -178,7 +196,10 @@ defmodule Zexbox.AutoEscalationTest do
178196
me = self()
179197

180198
jira_overrides = [
181-
transition_issue: fn opts -> send(me, {:transition_opts, opts}); {:ok, %{}} end
199+
transition_issue: fn opts ->
200+
send(me, {:transition_opts, opts})
201+
{:ok, %{}}
202+
end
182203
]
183204

184205
with_mocks(all_mocks(jira_overrides)) do

0 commit comments

Comments
 (0)