mirror of
https://github.com/openai/codex.git
synced 2026-04-30 19:32:04 +03:00
Merge branch 'main' of github.com:openai/codex into codex/websocket-reverse-4
# Conflicts: # codex-rs/features/src/lib.rs
This commit is contained in:
@@ -888,7 +888,10 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn log_format_from_env_value_defaults_for_non_json_values() {
|
||||
assert_eq!(LogFormat::from_env_value(None), LogFormat::Default);
|
||||
assert_eq!(
|
||||
LogFormat::from_env_value(/*value*/ None),
|
||||
LogFormat::Default
|
||||
);
|
||||
assert_eq!(LogFormat::from_env_value(Some("")), LogFormat::Default);
|
||||
assert_eq!(LogFormat::from_env_value(Some("text")), LogFormat::Default);
|
||||
assert_eq!(LogFormat::from_env_value(Some("jsonl")), LogFormat::Default);
|
||||
|
||||
Reference in New Issue
Block a user