aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2020-02-18 18:30:39 +0100
committerGravatar GitHub <[email protected]>2020-02-18 18:30:39 +0100
commitb5a1bf7c6ca467cef40a429cc8ca02314526801c (patch)
tree836b9a46d0749481111555208eb2464e9bfcb890 /tests
parentDelete additional informations from subtest (diff)
Use a space instead of an empty string in test_get_status_emoji
Because of the stripping, it should still be considered as empty Co-Authored-By: Mark <[email protected]>
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/cogs/test_snekbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bot/cogs/test_snekbox.py b/tests/bot/cogs/test_snekbox.py
index f1f03ab2f..94ff685c4 100644
--- a/tests/bot/cogs/test_snekbox.py
+++ b/tests/bot/cogs/test_snekbox.py
@@ -109,7 +109,7 @@ class SnekboxTests(unittest.TestCase):
def test_get_status_emoji(self):
"""Return emoji according to the eval result."""
cases = (
- ('', -1, ':warning:'),
+ (' ', -1, ':warning:'),
('Hello world!', 0, ':white_check_mark:'),
('Invalid beard size', -1, ':x:')
)