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 @@ -284,20 +284,20 @@ def test_set_window_and_show_window_options(session: Session) -> None:
284284 assert window .show_window_option ("pane-border-format" ) == " #P "
285285
286286
287- def test_set_and_show_window_options (session : Session ) -> None :
288- """Window.set_option() then Window.show_window_options (key)."""
287+ def test_set_and_show_options (session : Session ) -> None :
288+ """Window.set_option() then Window.show_options (key)."""
289289 window = session .new_window (window_name = "test_window" )
290290
291291 window .set_option ("main-pane-height" , 20 )
292- assert window .show_window_option ("main-pane-height" ) == 20
292+ assert window .show_option ("main-pane-height" ) == 20
293293
294294 window .set_option ("main-pane-height" , 40 )
295- assert window .show_window_option ("main-pane-height" ) == 40
296- assert window .show_window_options ()["main-pane-height" ] == 40
295+ assert window .show_option ("main-pane-height" ) == 40
296+ assert window .show_options ()["main-pane-height" ] == 40
297297
298298 if has_gte_version ("2.3" ):
299299 window .set_option ("pane-border-format" , " #P " )
300- assert window .show_window_option ("pane-border-format" ) == " #P "
300+ assert window .show_option ("pane-border-format" ) == " #P "
301301
302302
303303def test_empty_window_option_returns_None (session : Session ) -> None :
Original file line number Diff line number Diff line change @@ -303,19 +303,19 @@ def test_set_window_and_show_window_options(session: Session) -> None:
303303
304304
305305def test_set_and_show_window_options (session : Session ) -> None :
306- """Window.set_option() then Window.show_window_options (key)."""
306+ """Window.set_option() then Window.show_options (key)."""
307307 window = session .new_window (window_name = "test_window" )
308308
309309 window .set_option ("main-pane-height" , 20 )
310- assert window .show_window_option ("main-pane-height" ) == 20
310+ assert window .show_option ("main-pane-height" ) == 20
311311
312312 window .set_option ("main-pane-height" , 40 )
313- assert window .show_window_option ("main-pane-height" ) == 40
314- assert window .show_window_options ()["main-pane-height" ] == 40
313+ assert window .show_option ("main-pane-height" ) == 40
314+ assert window .show_options ()["main-pane-height" ] == 40
315315
316316 if has_gte_version ("2.3" ):
317317 window .set_option ("pane-border-format" , " #P " )
318- assert window .show_window_option ("pane-border-format" ) == " #P "
318+ assert window .show_option ("pane-border-format" ) == " #P "
319319
320320
321321def test_empty_window_option_returns_None (session : Session ) -> None :
You can’t perform that action at this time.
0 commit comments