Skip to content

Commit 7f85795

Browse files
committed
Fix tests broken by upstream changes
1 parent 4907dfa commit 7f85795

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_abbrev.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ def test_short_command_abbrev_false(capsys):
8383
app.abbrev = False
8484
app.onecmd_plus_hooks('sp hello')
8585
out, err = capsys.readouterr()
86-
assert "Unknown syntax" in out
87-
assert not err
86+
assert "is not a recognized command" in err
87+
assert not out
8888

8989
def test_not_unique_abbrev(capsys):
9090
app = init_app()
9191
app.abbrev = True
9292
app.onecmd_plus_hooks('s hello')
9393
out, err = capsys.readouterr()
94-
assert "Unknown syntax" in out
95-
assert not err
94+
assert "is not a recognized command" in err
95+
assert not out

0 commit comments

Comments
 (0)