Run mix format on mobile channel tests
Fix code formatting after mix format reordered Stream.repeatedly call. Generated with Claude Code https://claude.com/claude-code
This commit is contained in:
parent
41cc642d7e
commit
21ef9d00b2
1 changed files with 3 additions and 2 deletions
|
|
@ -358,13 +358,14 @@ defmodule AprsmeWeb.MobileChannelTest do
|
||||||
# Clear historical packets from the mailbox
|
# Clear historical packets from the mailbox
|
||||||
Process.sleep(100)
|
Process.sleep(100)
|
||||||
# Consume all pending messages in a loop
|
# Consume all pending messages in a loop
|
||||||
Stream.repeatedly(fn ->
|
fn ->
|
||||||
receive do
|
receive do
|
||||||
_ -> true
|
_ -> true
|
||||||
after
|
after
|
||||||
0 -> false
|
0 -> false
|
||||||
end
|
end
|
||||||
end)
|
end
|
||||||
|
|> Stream.repeatedly()
|
||||||
|> Enum.take_while(& &1)
|
|> Enum.take_while(& &1)
|
||||||
|
|
||||||
# Simulate matching packet
|
# Simulate matching packet
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue