Skip to content

Commit

Permalink
more strictly test commit messages
Browse files Browse the repository at this point in the history
  • Loading branch information
figsoda committed Aug 2, 2023
1 parent 39cd42e commit cc8d7d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions tests/test_flake.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,5 @@ def test_main(helpers: conftest.Helpers) -> None:
check=True,
).stdout.strip()
print(commit)
assert version in commit
assert "crate" in commit
assert f"crate: 8.0.0 -> {version}" in commit
assert "https://diff.rs/fd-find/8.0.0/" in commit
3 changes: 1 addition & 2 deletions tests/test_pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ def test_main(helpers: conftest.Helpers) -> None:
check=True,
).stdout.strip()
print(commit)
assert version in commit
assert "pypi" in commit
assert f"pypi: 2.0.0 -> {version}" in commit
assert (
f"https://github.com/Mic92/python-mpd2/blob/{version}/doc/changes.rst"
in commit
Expand Down

0 comments on commit cc8d7d2

Please sign in to comment.