Skip to content

Commit

Permalink
Correctly generate two lines of text in the test file.
Browse files Browse the repository at this point in the history
The previous version incorrectly appended the second line of text to the first. It was missing the EOL separator. This commit adds that separator.
No test results should be changed with this commit.
  • Loading branch information
AlexHenderson committed Feb 9, 2022
1 parent 3d2bd8e commit 0e71992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_hasher.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def test_file_exists(self):
# Add a file with contents
file = Path(folder / "testfile.txt")
with file.open(mode="wt") as f:
f.write("Some text in a file.")
f.write("Some text in a file.\n")
f.write("Another line of text.")

# Create an empty folder
Expand Down

0 comments on commit 0e71992

Please sign in to comment.