mirror of
https://github.com/openai/codex.git
synced 2026-05-03 10:56:37 +00:00
use anyhow instead of expected
This commit is contained in:
@@ -216,7 +216,7 @@ async fn thread_fork_tracks_thread_initialized_analytics() -> Result<()> {
|
||||
let ThreadForkResponse { thread, .. } = to_response::<ThreadForkResponse>(fork_resp)?;
|
||||
|
||||
let payload = wait_for_analytics_payload(&server, DEFAULT_READ_TIMEOUT).await?;
|
||||
let event = thread_initialized_event(&payload);
|
||||
let event = thread_initialized_event(&payload)?;
|
||||
assert_basic_thread_initialized_event(event, &thread.id, "forked");
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user