From 21ef9d00b2c5f5a470c6b63ed13b5d912ff3997e Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sat, 25 Oct 2025 13:21:05 -0500 Subject: [PATCH] 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 --- test/aprsme_web/channels/mobile_channel_test.exs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/aprsme_web/channels/mobile_channel_test.exs b/test/aprsme_web/channels/mobile_channel_test.exs index 083363f..6c7af4a 100644 --- a/test/aprsme_web/channels/mobile_channel_test.exs +++ b/test/aprsme_web/channels/mobile_channel_test.exs @@ -358,13 +358,14 @@ defmodule AprsmeWeb.MobileChannelTest do # Clear historical packets from the mailbox Process.sleep(100) # Consume all pending messages in a loop - Stream.repeatedly(fn -> + fn -> receive do _ -> true after 0 -> false end - end) + end + |> Stream.repeatedly() |> Enum.take_while(& &1) # Simulate matching packet