aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/botcore/utils/test_regex.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/botcore/utils/test_regex.py b/tests/botcore/utils/test_regex.py
index 4a7390a5..491e22bd 100644
--- a/tests/botcore/utils/test_regex.py
+++ b/tests/botcore/utils/test_regex.py
@@ -5,7 +5,7 @@ from botcore.utils.regex import DISCORD_INVITE
def match_regex(s: str) -> Optional[str]:
- """Helper function to run re.search on a string.
+ """Helper function to run re.match on a string.
Return the invite capture group, if the string matches the pattern
else return None
@@ -15,7 +15,7 @@ def match_regex(s: str) -> Optional[str]:
def search_regex(s: str) -> Optional[str]:
- """Helper function to run re.match on a string.
+ """Helper function to run re.search on a string.
Return the invite capture group, if the string matches the pattern
else return None