mirror of
https://github.com/openai/codex.git
synced 2026-11-20 22:40:37 +00:00
chore: enforce argument-comment lint across all targets
This commit is contained in:
@@ -421,7 +421,11 @@ mod tests {
|
||||
#[test]
|
||||
fn call_tool_result_includes_thread_id_in_structured_content() {
|
||||
let thread_id = ThreadId::new();
|
||||
let result = create_call_tool_result_with_thread_id(thread_id, "done".to_string(), None);
|
||||
let result = create_call_tool_result_with_thread_id(
|
||||
thread_id,
|
||||
"done".to_string(),
|
||||
/*is_error*/ None,
|
||||
);
|
||||
assert_eq!(
|
||||
result.structured_content,
|
||||
Some(json!({
|
||||
|
||||
@@ -315,7 +315,7 @@ mod tests {
|
||||
};
|
||||
|
||||
outgoing_message_sender
|
||||
.send_event_as_notification(&event, None)
|
||||
.send_event_as_notification(&event, /*meta*/ None)
|
||||
.await;
|
||||
|
||||
let result = outgoing_rx.recv().await.unwrap();
|
||||
|
||||
@@ -287,8 +287,8 @@ async fn patch_approval_triggers_elicitation() -> anyhow::Result<()> {
|
||||
elicitation_request.request.params,
|
||||
Some(create_expected_patch_approval_elicitation_request_params(
|
||||
expected_changes,
|
||||
None, // No grant_root expected
|
||||
None, // No reason expected
|
||||
/*grant_root*/ None, // No grant_root expected
|
||||
/*reason*/ None, // No reason expected
|
||||
codex_request_id.to_string(),
|
||||
params.codex_event_id.clone(),
|
||||
params.thread_id,
|
||||
|
||||
Reference in New Issue
Block a user