From 8f9b44d2eb9060fca0de880bd02c7f01bc9d91e3 Mon Sep 17 00:00:00 2001 From: Eric Traut Date: Tue, 31 Mar 2026 00:12:38 -0600 Subject: [PATCH] codex: shrink tui test blob on PR #16274 --- codex-rs/tui/src/chatwidget/tests/plan_mode.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codex-rs/tui/src/chatwidget/tests/plan_mode.rs b/codex-rs/tui/src/chatwidget/tests/plan_mode.rs index 7db8a30607..9fdca7f632 100644 --- a/codex-rs/tui/src/chatwidget/tests/plan_mode.rs +++ b/codex-rs/tui/src/chatwidget/tests/plan_mode.rs @@ -1366,7 +1366,7 @@ async fn user_turn_includes_personality_from_config() { } #[tokio::test] -async fn user_turn_preserves_none_personality() { +async fn user_turn_keeps_none() { let (mut chat, _rx, mut op_rx) = make_chatwidget_manual(Some("gpt-5.2-codex")).await; chat.set_feature_enabled(Feature::Personality, /*enabled*/ true); chat.thread_id = Some(ThreadId::new()); @@ -1378,7 +1378,7 @@ async fn user_turn_preserves_none_personality() { chat.handle_key_event(KeyEvent::from(KeyCode::Enter)); match next_submit_op(&mut op_rx) { Op::UserTurn { personality, .. } if personality == Some(Personality::none()) => {} - other => panic!("expected none personality, got {other:?}"), + other => panic!("got {other:?}"), } }