summaryrefslogtreecommitdiff
path: root/tests/test_arguments.py
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2022-04-28 11:05:06 -0700
committerDavid Lord <davidism@gmail.com>2022-04-28 11:05:06 -0700
commit501dec6e4324f289eee598a77865a6de95b62727 (patch)
treec62c4007aa83f9623f9cdc99be2097a5aef3cd4a /tests/test_arguments.py
parent0aec1168ac591e159baf6f61026d6ae322c53aaf (diff)
downloadclick-parser-rewrite.tar.gz
Diffstat (limited to 'tests/test_arguments.py')
-rw-r--r--tests/test_arguments.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_arguments.py b/tests/test_arguments.py
index 735df4b..899cc7c 100644
--- a/tests/test_arguments.py
+++ b/tests/test_arguments.py
@@ -315,7 +315,7 @@ def test_defaults_for_nargs(runner):
result = runner.invoke(cmd, ["3"])
assert result.exception is not None
- assert "Argument 'a' takes 2 values." in result.output
+ assert "Argument '[A]...' requires 2 values but 1 was given." in result.output
def test_multiple_param_decls_not_allowed(runner):