File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
codex-rs/tui/src/chatwidget Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -8680,21 +8680,14 @@ async fn disabled_fast_slash_command_with_args_restores_draft_instead_of_queuein
86808680}
86818681
86828682#[ tokio:: test]
8683- async fn queued_disabled_fast_slash_draft_is_rejected_on_replay ( ) {
8683+ async fn serialized_disabled_fast_slash_draft_is_rejected_immediately ( ) {
86848684 let ( mut chat, mut rx, mut op_rx) = make_chatwidget_manual ( Some ( "gpt-5.3-codex" ) ) . await ;
86858685 chat. thread_id = Some ( ThreadId :: new ( ) ) ;
86868686 chat. set_feature_enabled ( Feature :: FastMode , false ) ;
86878687 chat. on_task_started ( ) ;
86888688
86898689 chat. handle_serialized_slash_command ( UserMessage :: from ( "/fast on" . to_string ( ) ) ) ;
86908690
8691- assert_eq ! (
8692- chat. queued_user_message_texts( ) ,
8693- vec![ "/fast on" . to_string( ) ]
8694- ) ;
8695-
8696- chat. on_task_complete ( None , false ) ;
8697-
86988691 assert_no_submit_op ( & mut op_rx) ;
86998692 assert ! ( chat. queued_user_messages. is_empty( ) ) ;
87008693 assert_eq ! ( chat. bottom_pane. composer_text( ) , "/fast on" ) ;
You can’t perform that action at this time.
0 commit comments