Skip to content

Commit 227e12e

Browse files
Remove redundant assertions
Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com>
1 parent fb214be commit 227e12e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/commands/test_bump_command.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1528,9 +1528,6 @@ def test_changelog_merge_prerelease_preserves_header(
15281528
with changelog_path.open() as f:
15291529
out = f.read()
15301530

1531-
# The header should be preserved
1532-
assert out.startswith("# Changelog\n")
1533-
assert "All notable changes to this project will be documented here." in out
15341531
file_regression.check(out, extension=".md")
15351532

15361533

@@ -1572,9 +1569,6 @@ def test_changelog_merge_prerelease_no_prereleases_to_merge(
15721569
with changelog_path.open() as f:
15731570
out = f.read()
15741571

1575-
# The header and existing content should be preserved
1576-
assert out.startswith("# Changelog\n")
1577-
assert "All notable changes." in out
15781572
assert "## 0.1.0 (1970-01-01)" in out
15791573
file_regression.check(out, extension=".md")
15801574

0 commit comments

Comments
 (0)