Skip to content
Myr

Ensure the test fails without the fix

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Robert Grant · committed by Robert Grant · parent 99ff511 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • tests:+1 added−1 removed

1 file+1 added−1 removed

modified:tests/test_arguments.py+1 added-1 removed
288 unmodified lines
289 assert result.exception is not None290 assert 'argument a takes 2 values' in result.output291292293@pytest.mark.xfail293@pytest.mark.xfail(strict=True)294def test_multiple_param_decls_not_allowed(runner):295 @click.command()296 @click.argument('x', click.Choice(['a', 'b']))297 def copy(x):
1 unmodified line