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 @@ -225,20 +225,20 @@ def test_set_window_and_show_window_options(session: Session) -> None:
225225 assert window .show_window_option ("pane-border-format" ) == " #P "
226226
227227
228- def test_set_and_show_window_options (session : Session ) -> None :
229- """Window.set_option() then Window.show_window_options (key)."""
228+ def test_set_and_show_options (session : Session ) -> None :
229+ """Window.set_option() then Window.show_options (key)."""
230230 window = session .new_window (window_name = "test_window" )
231231
232232 window .set_option ("main-pane-height" , 20 )
233- assert window .show_window_option ("main-pane-height" ) == 20
233+ assert window .show_option ("main-pane-height" ) == 20
234234
235235 window .set_option ("main-pane-height" , 40 )
236- assert window .show_window_option ("main-pane-height" ) == 40
237- assert window .show_window_options ()["main-pane-height" ] == 40
236+ assert window .show_option ("main-pane-height" ) == 40
237+ assert window .show_options ()["main-pane-height" ] == 40
238238
239239 if has_gte_version ("2.3" ):
240240 window .set_option ("pane-border-format" , " #P " )
241- assert window .show_window_option ("pane-border-format" ) == " #P "
241+ assert window .show_option ("pane-border-format" ) == " #P "
242242
243243
244244def test_empty_window_option_returns_None (session : Session ) -> None :
Original file line number Diff line number Diff line change @@ -260,19 +260,19 @@ def test_set_window_and_show_window_options(session: Session) -> None:
260260
261261
262262def test_set_and_show_window_options (session : Session ) -> None :
263- """Window.set_option() then Window.show_window_options (key)."""
263+ """Window.set_option() then Window.show_options (key)."""
264264 window = session .new_window (window_name = "test_window" )
265265
266266 window .set_option ("main-pane-height" , 20 )
267- assert window .show_window_option ("main-pane-height" ) == 20
267+ assert window .show_option ("main-pane-height" ) == 20
268268
269269 window .set_option ("main-pane-height" , 40 )
270- assert window .show_window_option ("main-pane-height" ) == 40
271- assert window .show_window_options ()["main-pane-height" ] == 40
270+ assert window .show_option ("main-pane-height" ) == 40
271+ assert window .show_options ()["main-pane-height" ] == 40
272272
273273 if has_gte_version ("2.3" ):
274274 window .set_option ("pane-border-format" , " #P " )
275- assert window .show_window_option ("pane-border-format" ) == " #P "
275+ assert window .show_option ("pane-border-format" ) == " #P "
276276
277277
278278def test_empty_window_option_returns_None (session : Session ) -> None :
You can’t perform that action at this time.
0 commit comments