codex: fix instruction test clippy (#16964)

This commit is contained in:
Ahmed Ibrahim
2026-04-06 19:53:10 -07:00
parent eedec118b7
commit 60bf8ff815
2 changed files with 2 additions and 2 deletions

View File

@@ -345,7 +345,7 @@ async fn thread_fork_honors_explicit_null_thread_instructions() -> Result<()> {
Some(&Value::String(String::new()))
);
assert!(
developer_texts.iter().any(|text| text.is_empty()),
developer_texts.iter().any(String::is_empty),
"expected explicit empty developerInstructions to produce an empty developer instruction message: {developer_texts:?}"
);
} else {

View File

@@ -259,7 +259,7 @@ async fn turn_start_honors_explicit_null_thread_instructions() -> Result<()> {
Some(&Value::String(String::new()))
);
assert!(
developer_texts.iter().any(|text| text.is_empty()),
developer_texts.iter().any(String::is_empty),
"expected explicit empty developerInstructions to produce an empty developer instruction message: {developer_texts:?}"
);
} else {