Skip to content

Commit

Permalink
trailing newlines are now stripped, updated test to expect that
Browse files Browse the repository at this point in the history
  • Loading branch information
Flame442 authored Jan 8, 2024
1 parent 925fae1 commit 692f1d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redbot/pytest/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def empty_message():
@pytest.fixture(scope="module")
def newline_message():
mock_msg = type("", (), {})()
mock_msg.content = "!test a\nb\nc\n"
mock_msg.content = "!test a\nb\nc"
return mock_msg


Expand Down

0 comments on commit 692f1d5

Please sign in to comment.