diff --git a/project_name/tests/{% if cli_framework == 'typer' %}test_cli.py{% endif %}.jinja b/project_name/tests/{% if cli_framework == 'typer' %}test_cli.py{% endif %}.jinja index f03267d..2c9018d 100644 --- a/project_name/tests/{% if cli_framework == 'typer' %}test_cli.py{% endif %}.jinja +++ b/project_name/tests/{% if cli_framework == 'typer' %}test_cli.py{% endif %}.jinja @@ -24,4 +24,4 @@ def test_app_version() -> None: def test_app_exit() -> None: result = runner.invoke(app, []) - assert result.exit_code == 2 + assert result.exit_code != 0