Skip to content

Commit 40af545

Browse files
committed
test(builder): Update for _show_options conversions
1 parent 7117f71 commit 40af545

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/workspace/test_builder.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,8 @@ def test_global_session_env_options(
276276
builder.build(session=session)
277277

278278
_visual_silence = session._show_option("visual-silence", _global=True)
279-
assert isinstance(_visual_silence, str)
280-
assert visual_silence in _visual_silence
279+
assert isinstance(_visual_silence, bool)
280+
assert _visual_silence is True
281281
assert repeat_time == session._show_option("repeat-time")
282282
assert main_pane_height == session.active_window.show_window_option(
283283
"main-pane-height",
@@ -513,7 +513,7 @@ def check_window_name_mismatch() -> bool:
513513
assert retry_until(check_window_name_mismatch, 5, interval=0.25)
514514

515515
def check_window_name_match() -> bool:
516-
assert w.show_window_option("automatic-rename") == "on"
516+
assert w.show_window_option("automatic-rename")
517517
return w.name in {
518518
pathlib.Path(os.getenv("SHELL", "bash")).name,
519519
portable_command,

0 commit comments

Comments
 (0)