We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4907dfa commit 7f85795Copy full SHA for 7f85795
tests/test_abbrev.py
@@ -83,13 +83,13 @@ def test_short_command_abbrev_false(capsys):
83
app.abbrev = False
84
app.onecmd_plus_hooks('sp hello')
85
out, err = capsys.readouterr()
86
- assert "Unknown syntax" in out
87
- assert not err
+ assert "is not a recognized command" in err
+ assert not out
88
89
def test_not_unique_abbrev(capsys):
90
app = init_app()
91
app.abbrev = True
92
app.onecmd_plus_hooks('s hello')
93
94
95
0 commit comments