From 1fba27d9b8ec782c628d28570ab5beb3198c2efc Mon Sep 17 00:00:00 2001 From: Mix <32300164+mnixry@users.noreply.github.com> Date: Thu, 17 Feb 2022 23:44:04 +0800 Subject: [PATCH] :white_check_mark: Fix failed full match test --- tests/test_rule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_rule.py b/tests/test_rule.py index 7415f33a..25c0ebb7 100644 --- a/tests/test_rule.py +++ b/tests/test_rule.py @@ -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)