aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-05-20 10:54:49 +0300
committerGravatar GitHub <[email protected]>2020-05-20 10:54:49 +0300
commit5989bcfefa244eb05f37b76d1e1df2f45e5782fa (patch)
tree446e80e7774b6f7e6bfc21999125a2f5265770d4 /tests
parentModLog: Fix embed description truncation (diff)
ModLog Tests: Fix embed description truncate test
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/cogs/moderation/test_modlog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bot/cogs/moderation/test_modlog.py b/tests/bot/cogs/moderation/test_modlog.py
index b5ad21a09..f2809f40a 100644
--- a/tests/bot/cogs/moderation/test_modlog.py
+++ b/tests/bot/cogs/moderation/test_modlog.py
@@ -25,5 +25,5 @@ class ModLogTests(unittest.IsolatedAsyncioTestCase):
)
embed = self.channel.send.call_args[1]["embed"]
self.assertEqual(
- embed.description, ("foo bar" * 3000)[:2046] + "..."
+ embed.description, ("foo bar" * 3000)[:2045] + "..."
)