Skip to content

Commit 0c5fa07

Browse files
committed
fix test
1 parent 1100af4 commit 0c5fa07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

codex-rs/app-server/tests/suite/v2/turn_start.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,11 @@ async fn turn_start_exec_approval_toggle_v2() -> Result<()> {
261261
let ServerRequest::CommandExecutionRequestApproval { request_id, params } = server_req else {
262262
panic!("expected CommandExecutionRequestApproval request");
263263
};
264-
assert_eq!(params.request.call_id, "call1");
264+
assert_eq!(params.item_id, "call1");
265265
assert_eq!(
266-
params.request.parsed_cmd,
266+
params.metadata.parsed_cmd,
267267
vec![ParsedCommand::Unknown {
268-
cmd: "python3 -c 'print(42)'".to_string()
268+
cmd: "python3 -c 'print(42)'".to_string(),
269269
}]
270270
);
271271

0 commit comments

Comments
 (0)