Skip to content

Commit

Permalink
✅ Fix test with compatibility with Rich
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed Jul 12, 2022
1 parent fd78454 commit 8f0eaf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_completion/test_completion_show.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def test_completion_show_no_shell():
)
# TODO: when deprecating Click 7, remove second option
assert (
"Error: Option '--show-completion' requires an argument" in result.stderr
or "Error: --show-completion option requires an argument" in result.stderr
"Option '--show-completion' requires an argument" in result.stderr
or "--show-completion option requires an argument" in result.stderr
)


Expand Down

0 comments on commit 8f0eaf8

Please sign in to comment.