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 @@ -280,20 +280,20 @@ def test_set_window_and_show_window_options(session: Session) -> None:
280280 assert window .show_window_option ("pane-border-format" ) == " #P "
281281
282282
283- def test_set_and_show_window_options (session : Session ) -> None :
284- """Window.set_option() then Window.show_window_options (key)."""
283+ def test_set_and_show_options (session : Session ) -> None :
284+ """Window.set_option() then Window.show_options (key)."""
285285 window = session .new_window (window_name = "test_window" )
286286
287287 window .set_option ("main-pane-height" , 20 )
288- assert window .show_window_option ("main-pane-height" ) == 20
288+ assert window .show_option ("main-pane-height" ) == 20
289289
290290 window .set_option ("main-pane-height" , 40 )
291- assert window .show_window_option ("main-pane-height" ) == 40
292- assert window .show_window_options ()["main-pane-height" ] == 40
291+ assert window .show_option ("main-pane-height" ) == 40
292+ assert window .show_options ()["main-pane-height" ] == 40
293293
294294 if has_gte_version ("2.3" ):
295295 window .set_option ("pane-border-format" , " #P " )
296- assert window .show_window_option ("pane-border-format" ) == " #P "
296+ assert window .show_option ("pane-border-format" ) == " #P "
297297
298298
299299def test_empty_window_option_returns_None (session : Session ) -> None :
Original file line number Diff line number Diff line change @@ -299,19 +299,19 @@ def test_set_window_and_show_window_options(session: Session) -> None:
299299
300300
301301def test_set_and_show_window_options (session : Session ) -> None :
302- """Window.set_option() then Window.show_window_options (key)."""
302+ """Window.set_option() then Window.show_options (key)."""
303303 window = session .new_window (window_name = "test_window" )
304304
305305 window .set_option ("main-pane-height" , 20 )
306- assert window .show_window_option ("main-pane-height" ) == 20
306+ assert window .show_option ("main-pane-height" ) == 20
307307
308308 window .set_option ("main-pane-height" , 40 )
309- assert window .show_window_option ("main-pane-height" ) == 40
310- assert window .show_window_options ()["main-pane-height" ] == 40
309+ assert window .show_option ("main-pane-height" ) == 40
310+ assert window .show_options ()["main-pane-height" ] == 40
311311
312312 if has_gte_version ("2.3" ):
313313 window .set_option ("pane-border-format" , " #P " )
314- assert window .show_window_option ("pane-border-format" ) == " #P "
314+ assert window .show_option ("pane-border-format" ) == " #P "
315315
316316
317317def test_empty_window_option_returns_None (session : Session ) -> None :
You can’t perform that action at this time.
0 commit comments