Trim comments

This commit is contained in:
J. Nick Koston
2026-09-05 16:19:06 +02:00
parent 329dec0e9a
commit dc4ee00131
6 changed files with 22 additions and 44 deletions
@@ -3,8 +3,7 @@ esphome:
on_boot:
then:
- lambda: |-
// Exercise the contract callers rely on: 0 for text that is not an
// address, the sockaddr length otherwise, broadcast included
// 0 for text that is not an address, the length otherwise, broadcast included
struct sockaddr_storage addr;
auto *sa = reinterpret_cast<struct sockaddr *>(&addr);
ESP_LOGI("test", "SET_SOCKADDR invalid=%u valid=%u broadcast=%u",
@@ -1,9 +1,4 @@
"""Integration test for the socket::set_sockaddr failure contract.
Callers skip an address when set_sockaddr returns 0, so text that is not an
address must return 0 while a real address, including the broadcast address
that inet_addr() would have reported as a failure, returns its length.
"""
"""Integration test for the socket::set_sockaddr failure contract."""
import asyncio
import re