Skip to content

Commit 54db154

Browse files
committed
fix(test): align cz version --help fixtures per Python minor version
Argparse wraps the usage line differently before vs after Python 3.13, so separate regression baselines are required for CI matrix jobs. Made-with: Cursor
1 parent 4482093 commit 54db154

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

tests/commands/test_common_command/test_command_shows_description_when_use_help_option_py_3_10_version_.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
usage: cz version [-h] [-r | -p | -c | -v] [--major | --minor | --tag |
2-
--patch | --next [{USE_GIT_COMMITS,NONE,PATCH,MINOR,MAJOR}]]
1+
usage: cz version [-h] [-r | -p | -c | -v]
2+
[--major | --minor | --tag | --patch | --next [{USE_GIT_COMMITS,NONE,PATCH,MINOR,MAJOR}]]
33
[MANUAL_VERSION]
44

55
Get the version of the installed commitizen or the current project (default:

tests/commands/test_common_command/test_command_shows_description_when_use_help_option_py_3_11_version_.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
usage: cz version [-h] [-r | -p | -c | -v] [--major | --minor | --tag |
2-
--patch | --next [{USE_GIT_COMMITS,NONE,PATCH,MINOR,MAJOR}]]
1+
usage: cz version [-h] [-r | -p | -c | -v]
2+
[--major | --minor | --tag | --patch | --next [{USE_GIT_COMMITS,NONE,PATCH,MINOR,MAJOR}]]
33
[MANUAL_VERSION]
44

55
Get the version of the installed commitizen or the current project (default:

tests/commands/test_common_command/test_command_shows_description_when_use_help_option_py_3_12_version_.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
usage: cz version [-h] [-r | -p | -c | -v] [--major | --minor | --tag |
2-
--patch | --next [{USE_GIT_COMMITS,NONE,PATCH,MINOR,MAJOR}]]
1+
usage: cz version [-h] [-r | -p | -c | -v]
2+
[--major | --minor | --tag | --patch | --next [{USE_GIT_COMMITS,NONE,PATCH,MINOR,MAJOR}]]
33
[MANUAL_VERSION]
44

55
Get the version of the installed commitizen or the current project (default:

0 commit comments

Comments
 (0)