Skip to content

Commit

Permalink
Try to fix the test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
juhoautio committed May 31, 2022
1 parent 125e301 commit f4a190a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/console/commands/test_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,4 +215,5 @@ def test_command_new_with_dependencies(
[tool.poetry.group.dev.dependencies]
pytest = "^3.6.0"
"""
assert expected in poetry.pyproject.data.as_string()
# Replacing possible \r\n because as_string adds them on Windows
assert expected in poetry.pyproject.data.as_string().replace("\r\n", "\n")

0 comments on commit f4a190a

Please sign in to comment.