aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar GDWR <[email protected]>2022-05-10 18:51:57 +0100
committerGravatar GDWR <[email protected]>2022-05-10 18:51:57 +0100
commit05c17c34da18e3ac4c1d291bc318a1a407e0e308 (patch)
tree02e2640028e1e71fbeeb8a7038812f2635382ec4 /tests
parent`DISCORD_INVITE` captures until a whitespace (diff)
Make test name plural for consistency
Diffstat (limited to 'tests')
-rw-r--r--tests/botcore/utils/test_regex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/botcore/utils/test_regex.py b/tests/botcore/utils/test_regex.py
index d4ca2934..70d4252f 100644
--- a/tests/botcore/utils/test_regex.py
+++ b/tests/botcore/utils/test_regex.py
@@ -13,7 +13,7 @@ def use_regex(s: str) -> Optional[str]:
return result if result is None else result.group("invite")
-def test_discord_invite_positive():
+def test_discord_invite_positives():
"""Test the DISCORD_INVITE regex on a set of strings we would expect to capture."""
assert use_regex("discord.gg/python") == "python"