File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -227,20 +227,20 @@ def test_set_window_and_show_window_options(session: Session) -> None:
227227        assert  window .show_window_option ("pane-border-format" ) ==  " #P " 
228228
229229
230- def  test_set_and_show_window_options (session : Session ) ->  None :
231-     """Window.set_option() then Window.show_window_options (key).""" 
230+ def  test_set_and_show_options (session : Session ) ->  None :
231+     """Window.set_option() then Window.show_options (key).""" 
232232    window  =  session .new_window (window_name = "test_window" )
233233
234234    window .set_option ("main-pane-height" , 20 )
235-     assert  window .show_window_option ("main-pane-height" ) ==  20 
235+     assert  window .show_option ("main-pane-height" ) ==  20 
236236
237237    window .set_option ("main-pane-height" , 40 )
238-     assert  window .show_window_option ("main-pane-height" ) ==  40 
239-     assert  window .show_window_options ()["main-pane-height" ] ==  40 
238+     assert  window .show_option ("main-pane-height" ) ==  40 
239+     assert  window .show_options ()["main-pane-height" ] ==  40 
240240
241241    if  has_gte_version ("2.3" ):
242242        window .set_option ("pane-border-format" , " #P " )
243-         assert  window .show_window_option ("pane-border-format" ) ==  " #P " 
243+         assert  window .show_option ("pane-border-format" ) ==  " #P " 
244244
245245
246246def  test_empty_window_option_returns_None (session : Session ) ->  None :
Original file line number Diff line number Diff line change @@ -262,19 +262,19 @@ def test_set_window_and_show_window_options(session: Session) -> None:
262262
263263
264264def  test_set_and_show_window_options (session : Session ) ->  None :
265-     """Window.set_option() then Window.show_window_options (key).""" 
265+     """Window.set_option() then Window.show_options (key).""" 
266266    window  =  session .new_window (window_name = "test_window" )
267267
268268    window .set_option ("main-pane-height" , 20 )
269-     assert  window .show_window_option ("main-pane-height" ) ==  20 
269+     assert  window .show_option ("main-pane-height" ) ==  20 
270270
271271    window .set_option ("main-pane-height" , 40 )
272-     assert  window .show_window_option ("main-pane-height" ) ==  40 
273-     assert  window .show_window_options ()["main-pane-height" ] ==  40 
272+     assert  window .show_option ("main-pane-height" ) ==  40 
273+     assert  window .show_options ()["main-pane-height" ] ==  40 
274274
275275    if  has_gte_version ("2.3" ):
276276        window .set_option ("pane-border-format" , " #P " )
277-         assert  window .show_window_option ("pane-border-format" ) ==  " #P " 
277+         assert  window .show_option ("pane-border-format" ) ==  " #P " 
278278
279279
280280def  test_empty_window_option_returns_None (session : Session ) ->  None :
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments