Fix failed full match test

This commit is contained in:
Mix 2022-02-17 23:44:04 +08:00
parent 0f0dc0a818
commit 1fba27d9b8

View File

@ -134,7 +134,7 @@ async def test_fullmatch(
checker = dependent.call
assert isinstance(checker, FullmatchRule)
assert checker.msg == (msg,) if isinstance(msg, str) else msg
assert checker.msg == {msg} if isinstance(msg, str) else {*msg}
assert checker.ignorecase == ignorecase
message = make_fake_message()(text)