Skip to content

Commit da6ec0a

Browse files
committed
add test for shlex.split on pane-border-format
1 parent 8900f52 commit da6ec0a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_window.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,9 @@ def test_set_show_window_options(session):
174174
window.set_window_option('main-pane-height', 20)
175175
assert window.show_window_options('main-pane-height') == 20
176176

177+
window.set_window_option('pane-border-format', ' #P ')
178+
assert window.show_window_options('pane-border-format') == [' #P ']
179+
177180
window.set_window_option('main-pane-height', 40)
178181
assert window.show_window_options('main-pane-height') == 40
179182
assert window.show_window_options()['main-pane-height'] == 40

0 commit comments

Comments
 (0)