Skip to content

Commit

Permalink
issue-1906 Ignore trailing spaces in the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
snejus committed Jul 7, 2021
1 parent 0b6abe4 commit 79233c9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/console/commands/test_show.py
Original file line number Diff line number Diff line change
Expand Up @@ -1318,15 +1318,15 @@ def test_show_required_by_deps(tester, poetry, installed):
tester.execute("cachy")

expected = """\
name : cachy
version : 0.2.0
description :
name : cachy
version : 0.2.0
description :
dependencies
- msgpack-python >=0.5 <0.6
required by
- pendulum >=0.2.0 <0.3.0
"""

assert expected == tester.io.fetch_output()
""".splitlines()
actual = [line.rstrip() for line in tester.io.fetch_output().splitlines()]
assert actual == expected

0 comments on commit 79233c9

Please sign in to comment.