@@ -1329,12 +1329,11 @@ mod tests {
13291329
13301330 let lines = buffer_body_lines ( & buf, width, height) ;
13311331 let visible = lines. join ( "\n " ) ;
1332- let has_header = visible. contains ( "GPT-5.3-Codex" ) ;
1333- let has_desc = visible. contains ( "Frontier agentic coding" )
1334- && visible. contains ( "25% faster than previous models." ) ;
1332+ let has_header = visible. contains ( "GPT-5.5" ) ;
1333+ let has_desc = visible. contains ( "Frontier model for complex coding" ) ;
13351334
1336- assert ! ( has_header) ;
1337- assert ! ( has_desc) ;
1335+ assert ! ( has_header, "expected header in rendered model picker: \n {visible}" ) ;
1336+ assert ! ( has_desc, "expected description in rendered model picker: \n {visible}" ) ;
13381337 }
13391338
13401339 #[ test]
@@ -1607,7 +1606,7 @@ mod tests {
16071606 }
16081607
16091608 #[ test]
1610- fn model_selection_shows_unavailable_context_hint_for_unsupported_model ( ) {
1609+ fn model_selection_shows_available_context_hint_for_supported_model ( ) {
16111610 let presets = vec ! [ make_preset( "gpt-5.4" ) ] ;
16121611 let ( tx, _rx) = mpsc:: channel :: < AppEvent > ( ) ;
16131612 let view = ModelSelectionView :: new (
@@ -1638,13 +1637,10 @@ mod tests {
16381637
16391638 let lines = buffer_body_lines ( & buf, width, height) ;
16401639 assert ! (
1641- lines. iter( ) . any( |line| line. contains( "1M Context: unavailable " ) ) ,
1642- "expected unsupported model to show unavailable context, got:\n {}" ,
1640+ lines. iter( ) . any( |line| line. contains( "1M Context: auto " ) ) ,
1641+ "expected supported model to show auto context, got:\n {}" ,
16431642 lines. join( "\n " )
16441643 ) ;
1645- assert ! ( lines. iter( ) . any( |line| {
1646- line. contains( "Unavailable for this model. Saved settings apply automatically on supported models." )
1647- } ) ) ;
16481644 }
16491645
16501646 #[ test]
0 commit comments