fix: satisfy Linux clippy for inherited socket test

Co-authored-by: Codex noreply@openai.com
This commit is contained in:
viyatb-oai
2026-04-08 15:27:59 -07:00
parent d6696b1721
commit f3da8367f7

View File

@@ -549,6 +549,7 @@ async fn inherited_connected_tcp_socket_cannot_send_after_sandbox_exec() {
}
#[cfg(target_os = "linux")]
#[expect(clippy::expect_used)]
fn inherited_connected_tcp_socket_send_body() {
let fd = std::env::var(INHERITED_CONNECTED_SOCKET_FD_ENV_VAR)
.expect("inherited fd env var should be set")