mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
Fix release-mode integration test compiler failure (#13603)
Addresses #13586 This doesn't affect our CI scripts. It was user-reported. Summary - add `wiremock::ResponseTemplate` and `body_string_contains` imports behind `#[cfg(not(debug_assertions))]` in `codex-rs/core/tests/suite/view_image.rs` so release builds only pull the helpers they actually use
This commit is contained in:
committed by
Michael Bolin
parent
f3f47cf455
commit
7144f84c69
@@ -41,6 +41,10 @@ use serde_json::Value;
|
||||
use tokio::time::Duration;
|
||||
use wiremock::BodyPrintLimit;
|
||||
use wiremock::MockServer;
|
||||
#[cfg(not(debug_assertions))]
|
||||
use wiremock::ResponseTemplate;
|
||||
#[cfg(not(debug_assertions))]
|
||||
use wiremock::matchers::body_string_contains;
|
||||
|
||||
fn image_messages(body: &Value) -> Vec<&Value> {
|
||||
body.get("input")
|
||||
|
||||
Reference in New Issue
Block a user