From 692f1d5c3f999e77a037afd87b3d143d05aa9eb7 Mon Sep 17 00:00:00 2001 From: Michael Oliveira <34169552+Flame442@users.noreply.github.com> Date: Mon, 8 Jan 2024 17:21:54 -0500 Subject: [PATCH] trailing newlines are now stripped, updated test to expect that --- redbot/pytest/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redbot/pytest/core.py b/redbot/pytest/core.py index 56cd52c8034..57450f8e41c 100644 --- a/redbot/pytest/core.py +++ b/redbot/pytest/core.py @@ -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