mirror of
https://github.com/esphome/esphome.git
synced 2026-10-01 00:40:21 +00:00
Trim comments
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user