From 5588bc5928a3adc35333bc3fdc21b98033356333 Mon Sep 17 00:00:00 2001 From: viyatb-oai Date: Fri, 17 Apr 2026 13:59:09 -0700 Subject: [PATCH] ci: satisfy clippy for Linux sandbox smoke --- codex-rs/exec/tests/suite/linux_sandbox_smoke.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codex-rs/exec/tests/suite/linux_sandbox_smoke.rs b/codex-rs/exec/tests/suite/linux_sandbox_smoke.rs index c85ea77db5..90e7fdce0d 100644 --- a/codex-rs/exec/tests/suite/linux_sandbox_smoke.rs +++ b/codex-rs/exec/tests/suite/linux_sandbox_smoke.rs @@ -1,6 +1,6 @@ #![cfg(target_os = "linux")] -use assert_cmd::prelude::*; +use anyhow::Context as _; use core_test_support::responses; use core_test_support::responses::ev_assistant_message; use core_test_support::responses::ev_completed; @@ -87,7 +87,7 @@ async fn run_codex_exec_linux_sandbox_smoke( .function_call_output(call_id) .get("output") .and_then(Value::as_str) - .expect("shell command output should be a string") + .context("shell command output should be a string")? .to_string(); assert!( output.contains(expected_marker),