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 @@ -279,20 +279,20 @@ def test_set_window_and_show_window_options(session: Session) -> None:
279279 assert window .show_window_option ("pane-border-format" ) == " #P "
280280
281281
282- def test_set_and_show_window_options (session : Session ) -> None :
283- """Window.set_option() then Window.show_window_options (key)."""
282+ def test_set_and_show_options (session : Session ) -> None :
283+ """Window.set_option() then Window.show_options (key)."""
284284 window = session .new_window (window_name = "test_window" )
285285
286286 window .set_option ("main-pane-height" , 20 )
287- assert window .show_window_option ("main-pane-height" ) == 20
287+ assert window .show_option ("main-pane-height" ) == 20
288288
289289 window .set_option ("main-pane-height" , 40 )
290- assert window .show_window_option ("main-pane-height" ) == 40
291- assert window .show_window_options ()["main-pane-height" ] == 40
290+ assert window .show_option ("main-pane-height" ) == 40
291+ assert window .show_options ()["main-pane-height" ] == 40
292292
293293 if has_gte_version ("2.3" ):
294294 window .set_option ("pane-border-format" , " #P " )
295- assert window .show_window_option ("pane-border-format" ) == " #P "
295+ assert window .show_option ("pane-border-format" ) == " #P "
296296
297297
298298def test_empty_window_option_returns_None (session : Session ) -> None :
Original file line number Diff line number Diff line change @@ -298,19 +298,19 @@ def test_set_window_and_show_window_options(session: Session) -> None:
298298
299299
300300def test_set_and_show_window_options (session : Session ) -> None :
301- """Window.set_option() then Window.show_window_options (key)."""
301+ """Window.set_option() then Window.show_options (key)."""
302302 window = session .new_window (window_name = "test_window" )
303303
304304 window .set_option ("main-pane-height" , 20 )
305- assert window .show_window_option ("main-pane-height" ) == 20
305+ assert window .show_option ("main-pane-height" ) == 20
306306
307307 window .set_option ("main-pane-height" , 40 )
308- assert window .show_window_option ("main-pane-height" ) == 40
309- assert window .show_window_options ()["main-pane-height" ] == 40
308+ assert window .show_option ("main-pane-height" ) == 40
309+ assert window .show_options ()["main-pane-height" ] == 40
310310
311311 if has_gte_version ("2.3" ):
312312 window .set_option ("pane-border-format" , " #P " )
313- assert window .show_window_option ("pane-border-format" ) == " #P "
313+ assert window .show_option ("pane-border-format" ) == " #P "
314314
315315
316316def test_empty_window_option_returns_None (session : Session ) -> None :
You can’t perform that action at this time.
0 commit comments