mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
feedback
This commit is contained in:
@@ -1363,7 +1363,11 @@ mod tests {
|
||||
serde_json::from_str(raw).unwrap_or_else(|err| panic!("failed to parse {case}: {err}"));
|
||||
let serialized = serde_json::to_value(&parsed)
|
||||
.unwrap_or_else(|err| panic!("failed to serialize {case}: {err}"));
|
||||
assert_eq!(serialized, expected, "case {case} failed round trip");
|
||||
assert_eq!(
|
||||
normalize_rollout_value(serialized),
|
||||
normalize_rollout_value(expected),
|
||||
"case {case} failed round trip",
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
@@ -4,9 +4,6 @@
|
||||
"payload": {
|
||||
"type": "function_call_output",
|
||||
"call_id": "call-123",
|
||||
"output": {
|
||||
"content": "{\"stdout\":\"done\"}",
|
||||
"success": null
|
||||
}
|
||||
"output": "{\"stdout\":\"done\"}"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user