fix tests

This commit is contained in:
Manuel Barkhau 2018-12-08 19:18:47 +01:00
parent 0e1a6271a3
commit 946cdaa5ba
13 changed files with 199 additions and 1333 deletions

View file

@ -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")