Skip to content

Commit

Permalink
Fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD committed Jun 1, 2022
1 parent 6478359 commit 321fdef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion whole-repo-tests/test_release_files.py
Expand Up @@ -31,6 +31,6 @@ def test_release_file_has_no_merge_conflicts():
assert "<<<" not in message, "Merge conflict in RELEASE.rst"
_, *recent_changes, _ = hp.CHANGELOG_ANCHOR.split(hp.changelog(), maxsplit=12)
for entry in recent_changes:
_, version, _, old_msg = hp.CHANGELOG_BORDER.split(entry.strip())
_, version, old_msg = (x.strip() for x in hp.CHANGELOG_BORDER.split(entry))
assert message not in old_msg, f"Release notes already published for {version}"
assert old_msg not in message, f"Copied {version} release notes - merge error?"

0 comments on commit 321fdef

Please sign in to comment.