Skip to content

Commit 8e24396

Browse files
committed
fixup! feat(Window.split_window): set up environment
1 parent 5c89569 commit 8e24396

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_window.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def test_split_window_with_environment(session: Session) -> None:
324324

325325
window = session.new_window(window_name="split_window_with_environment")
326326
pane = window.split_window(
327-
shell=f"{env} PS1='$ ' bash --norc --noprofile",
327+
shell=f"{env} PS1='$ ' sh",
328328
environment={"ENV_VAR": "pane"},
329329
)
330330
assert pane is not None
@@ -347,7 +347,7 @@ def test_split_window_with_environment_logs_warning_for_old_tmux(
347347

348348
window = session.new_window(window_name="split_window_with_environment")
349349
window.split_window(
350-
shell=f"{env} PS1='$ ' bash --norc --noprofile",
350+
shell=f"{env} PS1='$ ' sh",
351351
environment={"ENV_VAR": "pane"},
352352
)
353353

0 commit comments

Comments
 (0)