Skip to content

Commit c0e63d3

Browse files
author
Artur Shiriev
committed
debug
1 parent 5ece0e0 commit c0e63d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_end_of_file_fixer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ def test_end_of_file_fixer_with_gitignore() -> None:
172172

173173
# Check that files were fixed correctly
174174
# File with no newline should now have one
175+
if not (temp_path / "no_newline.txt").exists():
176+
print("Files in temp dir:", list(temp_path.iterdir()))
175177
no_newline_content = (temp_path / "no_newline.txt").read_text()
176178
assert no_newline_content == "This file has no newline at the end\n"
177179

0 commit comments

Comments
 (0)