This commit is contained in:
Shubham Patel 2023-10-12 21:40:55 +05:30
parent 8741515cb5
commit 2f8ed13980
2 changed files with 6 additions and 15 deletions

View file

@ -42,7 +42,7 @@ class TestCommandFilter:
[("12TeSt", "3t4Est", "5TE6sT"), ("12test", "3t4est", "5te6st")],
[[BotCommand(command="/Test", description="Test1")], ("test",)],
[[BotCommand(command="tEsT", description="Test2")], ("test",)],
[(re.compile(r"/test(\d+)"), "TeSt"), (re.compile(r"test(\d+)"), "test")],
[(re.compile(r"test(\d+)"), "TeSt"), (re.compile(r"test(\d+)"), "test")],
],
)
def test_init_casefold(self, commands, checklist):