free_port_spec: re-add comments.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Mike McQuaidandCopilot authored and GitHub committed 2026-02-22 10:03:43 +00:00
1 parent 36a633a4d7
commit 9ddeeed579
1 file changed
+4
+4
View File
@@ -8,6 +8,10 @@ RSpec.describe Homebrew::FreePort do
describe "#free_port" do
it "returns a free TCP/IP port" do
# IANA recommends:
# - User ports: 1024–49151
# - Dynamic ports: 49152–65535
# For this test we accept any free port in the full 1024–65535 range.
min_port = 1024
max_port = 65535
port = instance.free_port