aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar ionite34 <[email protected]>2022-08-16 18:40:56 -0400
committerGravatar ionite34 <[email protected]>2022-08-16 18:40:56 -0400
commit8b71cb416a6b27c4e7829a0b4e898c0441c5f84a (patch)
treed8c2dfd7b1269e32e854d37c18d9d0dbf98a7520 /tests
parentRemoved a redundant regex character class (diff)
Corrected docstrings
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