Skip to content

Commit f440b36

Browse files
committed
use default- as an ambiguous argument example
as of tmux 2.5, there is only one command prefixed with bell-, so it's not going to raise the ambiguous message to trigger raising it
1 parent 4bb7fe1 commit f440b36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,13 @@ def test_show_option_unknown(session):
145145
def test_show_option_ambiguous(session):
146146
"""Session.show_option raises AmbiguousOption for ambiguous option."""
147147
with pytest.raises(exc.AmbiguousOption):
148-
session.show_option('bell-')
148+
session.show_option('default-')
149149

150150

151151
def test_set_option_ambigous(session):
152152
"""Session.set_option raises AmbiguousOption for invalid option."""
153153
with pytest.raises(exc.AmbiguousOption):
154-
session.set_option('bell-', 43)
154+
session.set_option('default-', 43)
155155

156156

157157
def test_set_option_invalid(session):

0 commit comments

Comments
 (0)