Skip to content

Commit

Permalink
test(fixtures): correct the ordering of commits in changelog expectat…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
codejedi365 authored and relekang committed Mar 18, 2024
1 parent 6242b61 commit adce520
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/fixtures/repos/git_flow/repo_w_2_release_channels.py
Expand Up @@ -39,7 +39,7 @@ def get_commits_for_git_flow_repo_with_2_release_channels() -> GetRepoDefinition
"changelog_sections": {
"angular": [{"section": "Unknown", "i_commits": [0]}],
"emoji": [{"section": "Other", "i_commits": [0]}],
"scipy": [{"section": "None", "i_commits": [0]}],
"scipy": [{"section": "Unknown", "i_commits": [0]}],
"tag": [{"section": "Unknown", "i_commits": [0]}],
},
"commits": [
Expand Down
6 changes: 3 additions & 3 deletions tests/fixtures/repos/trunk_based_dev/repo_w_no_tags.py
Expand Up @@ -45,18 +45,18 @@ def get_commits_for_trunk_only_repo_w_no_tags() -> GetRepoDefinitionFn:
{"section": "Unknown", "i_commits": [0]},
],
"emoji": [
{"section": ":bug:", "i_commits": [1, 3]},
{"section": ":bug:", "i_commits": [3, 1]},
{"section": ":sparkles:", "i_commits": [2]},
{"section": "Other", "i_commits": [0]},
],
"scipy": [
{"section": "Feature", "i_commits": [2]},
{"section": "Fix", "i_commits": [1, 3]},
{"section": "Fix", "i_commits": [3, 1]},
{"section": "Unknown", "i_commits": [0]},
],
"tag": [
{"section": "Feature", "i_commits": [2]},
{"section": "Fix", "i_commits": [1, 3]},
{"section": "Fix", "i_commits": [3, 1]},
{"section": "Unknown", "i_commits": [0]},
],
},
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/repos/trunk_based_dev/repo_w_prereleases.py
Expand Up @@ -39,7 +39,7 @@ def get_commits_for_trunk_only_repo_w_prerelease_tags() -> GetRepoDefinitionFn:
"changelog_sections": {
"angular": [{"section": "Unknown", "i_commits": [0]}],
"emoji": [{"section": "Other", "i_commits": [0]}],
"scipy": [{"section": "None", "i_commits": [0]}],
"scipy": [{"section": "Unknown", "i_commits": [0]}],
"tag": [{"section": "Unknown", "i_commits": [0]}],
},
"commits": [
Expand Down

0 comments on commit adce520

Please sign in to comment.