Skip to content

Commit

Permalink
fix: strip
Browse files Browse the repository at this point in the history
  • Loading branch information
Snoopy1866 committed Dec 18, 2024
1 parent 5a6e2aa commit 04ccd6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/submit/tests/test_submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_copy_file(self):
with open(validate_file, "r", encoding="utf-8") as f:
validate_code = f.read()

assert tmp_code == validate_code
assert tmp_code.strip() == validate_code.strip()

def test_copy_directory(self):
test_dir = "tests/test_file"
Expand All @@ -40,7 +40,7 @@ def test_copy_directory(self):
with open(validate_file, "r", encoding="utf-8") as f:
validate_code = f.read()

assert tmp_code == validate_code
assert tmp_code.strip() == validate_code.strip()
else:
assert False

Expand Down

0 comments on commit 04ccd6e

Please sign in to comment.