mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 22:40:09 +01:00
fix tests
This commit is contained in:
parent
0e1a6271a3
commit
946cdaa5ba
13 changed files with 199 additions and 1333 deletions
|
|
@ -152,6 +152,7 @@ def diff(new_version: str, file_patterns: config.PatternsByFilePath) -> str:
|
|||
content = fh.read()
|
||||
|
||||
rfd = rfd_from_content(patterns, new_version, content)
|
||||
rfd = rfd._replace(path=file_path)
|
||||
full_diff += "\n".join(diff_lines(rfd)) + "\n"
|
||||
|
||||
full_diff = full_diff.rstrip("\n")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue