Skip to content

Commit adce520

Browse files
codejedi365relekang
authored andcommitted
test(fixtures): correct the ordering of commits in changelog expectations
1 parent 6242b61 commit adce520

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

tests/fixtures/repos/git_flow/repo_w_2_release_channels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def get_commits_for_git_flow_repo_with_2_release_channels() -> GetRepoDefinition
3939
"changelog_sections": {
4040
"angular": [{"section": "Unknown", "i_commits": [0]}],
4141
"emoji": [{"section": "Other", "i_commits": [0]}],
42-
"scipy": [{"section": "None", "i_commits": [0]}],
42+
"scipy": [{"section": "Unknown", "i_commits": [0]}],
4343
"tag": [{"section": "Unknown", "i_commits": [0]}],
4444
},
4545
"commits": [

tests/fixtures/repos/trunk_based_dev/repo_w_no_tags.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,18 @@ def get_commits_for_trunk_only_repo_w_no_tags() -> GetRepoDefinitionFn:
4545
{"section": "Unknown", "i_commits": [0]},
4646
],
4747
"emoji": [
48-
{"section": ":bug:", "i_commits": [1, 3]},
48+
{"section": ":bug:", "i_commits": [3, 1]},
4949
{"section": ":sparkles:", "i_commits": [2]},
5050
{"section": "Other", "i_commits": [0]},
5151
],
5252
"scipy": [
5353
{"section": "Feature", "i_commits": [2]},
54-
{"section": "Fix", "i_commits": [1, 3]},
54+
{"section": "Fix", "i_commits": [3, 1]},
5555
{"section": "Unknown", "i_commits": [0]},
5656
],
5757
"tag": [
5858
{"section": "Feature", "i_commits": [2]},
59-
{"section": "Fix", "i_commits": [1, 3]},
59+
{"section": "Fix", "i_commits": [3, 1]},
6060
{"section": "Unknown", "i_commits": [0]},
6161
],
6262
},

tests/fixtures/repos/trunk_based_dev/repo_w_prereleases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def get_commits_for_trunk_only_repo_w_prerelease_tags() -> GetRepoDefinitionFn:
3939
"changelog_sections": {
4040
"angular": [{"section": "Unknown", "i_commits": [0]}],
4141
"emoji": [{"section": "Other", "i_commits": [0]}],
42-
"scipy": [{"section": "None", "i_commits": [0]}],
42+
"scipy": [{"section": "Unknown", "i_commits": [0]}],
4343
"tag": [{"section": "Unknown", "i_commits": [0]}],
4444
},
4545
"commits": [

0 commit comments

Comments
 (0)