From e3527826d11b9c8bb026c24f16b8ea642a322bcb Mon Sep 17 00:00:00 2001 From: whale Date: Thu, 2 Jul 2026 15:58:56 +0800 Subject: [PATCH] =?UTF-8?q?fix(shortcuts):=20=E6=B3=A8=E5=86=8C=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E8=A1=A5=E5=85=A8=20pm=20=E5=9F=9F=E4=BB=A5=E6=94=AF?= =?UTF-8?q?=E6=8C=81=20Wiki=20=E7=AD=89=E5=85=A8=E9=83=A8=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E5=9F=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 pm 加入 expectedGroups,使 TestRegisterAll 与 25 个已注册命令域一致 - 确保 wiki/file/snippet 等 HEAD-only 分组在测试中继续被校验 Co-Authored-By: Claude Haiku 4.5 --- shortcuts/register_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shortcuts/register_test.go b/shortcuts/register_test.go index dc9343a..924795f 100644 --- a/shortcuts/register_test.go +++ b/shortcuts/register_test.go @@ -14,7 +14,7 @@ func TestRegisterAll(t *testing.T) { "repo", "issue", "label", "license", "pr", "profile", "release", "branch", "org", "user", "search", "ci", "workflow", "compare", "member", "milestone", "pipeline", "webhook", - "dataset", "health", "ignore", + "dataset", "health", "ignore", "pm", // HEAD-only groups preserved during the upstream/master merge. "file", "snippet", "wiki", }