Skip to content

Commit

Permalink
Different approach for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
rickwporter committed Jan 1, 2025
1 parent d6f760c commit a57f8e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_rich_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,5 +170,6 @@ def print_rich_data():

result = runner.invoke(app, [])
assert result.exit_code == 0
output = non_ascii_dots(result.stdout)
assert output.startswith(non_ascii_dots(CONFIGED_TEXT))
output = non_ascii_dots(result.stdout).rstrip("\r\n").strip()
expected = non_ascii_dots(CONFIGED_TEXT).rstrip("\r\n").strip()
assert output == expected

0 comments on commit a57f8e8

Please sign in to comment.