mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-02-21 01:55:26 +08:00
✅ Fix failed full match test
This commit is contained in:
parent
0f0dc0a818
commit
1fba27d9b8
@ -134,7 +134,7 @@ async def test_fullmatch(
|
|||||||
checker = dependent.call
|
checker = dependent.call
|
||||||
|
|
||||||
assert isinstance(checker, FullmatchRule)
|
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
|
assert checker.ignorecase == ignorecase
|
||||||
|
|
||||||
message = make_fake_message()(text)
|
message = make_fake_message()(text)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user