From 849e5fdd6874acff0c6437c36e14df8c7802c4ff Mon Sep 17 00:00:00 2001 From: molanp <104612722+molanp@users.noreply.github.com> Date: Sun, 3 Aug 2025 19:14:23 +0800 Subject: [PATCH] =?UTF-8?q?test(auto=5Fupdate):=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=A3=80=E6=B5=8B=E6=B6=88=E6=81=AF=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了不必要的版本号后缀(如 "-e6f17c4") - 统一了版本更新消息的格式,删除了冗余信息 --- tests/builtin_plugins/auto_update/test_check_update.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/builtin_plugins/auto_update/test_check_update.py b/tests/builtin_plugins/auto_update/test_check_update.py index 97ee18fa..832c867c 100644 --- a/tests/builtin_plugins/auto_update/test_check_update.py +++ b/tests/builtin_plugins/auto_update/test_check_update.py @@ -324,7 +324,7 @@ async def test_check_update_release( ctx.should_call_api( "send_msg", _v11_private_message_send( - message="检测真寻已更新,版本更新:v0.2.2 -> v0.2.2\n开始更新...", + message="检测真寻已更新,版本更新:v0.2.2\n开始更新...", user_id=UserId.SUPERUSER, ), ) @@ -420,8 +420,7 @@ async def test_check_update_main( ctx.should_call_api( "send_msg", _v11_private_message_send( - message="检测真寻已更新,版本更新:v0.2.2 -> v0.2.2-e6f17c4\n" - "开始更新...", + message="检测真寻已更新,版本更新:v0.2.2\n开始更新...", user_id=UserId.SUPERUSER, ), )