Skip to content

Commit 884a20d

Browse files
yiliang114qwencoder
andcommitted
style(core): apply prettier to the new collision rows
Whitespace only, from `npx prettier --write`; the repo's format gate rejected the two wrapped calls added in the previous commit. No behaviour change: `src/permissions/mcp-server-rule-collision.test.ts` still 31 passed, eslint clean, `prettier --check` clean on all four files this branch touches. Co-authored-by: Qwen-Coder <[email protected]> Patrol-Run: qwen-pr-closeout/jmufqt39629
1 parent d941cc6 commit 884a20d

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

‎packages/core/src/permissions/mcp-server-rule-collision.test.ts‎

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -808,10 +808,7 @@ describe('legacy-spelled deny coverage (round-2 review)', () => {
808808
}),
809809
).toBe('deny');
810810
expect(
811-
await pm.getToolRegistrationStatus(
812-
tool.name,
813-
tool.permissionAliases,
814-
),
811+
await pm.getToolRegistrationStatus(tool.name, tool.permissionAliases),
815812
).toBe('disabled');
816813
}
817814
},
@@ -826,8 +823,8 @@ describe('legacy-spelled deny coverage (round-2 review)', () => {
826823
expect(safe.permissionAliases).toEqual([]);
827824
expect(matchesMcpPattern('mcp__foo.bar', safe.name)).toBe(false);
828825
expect(matchesMcpPattern('mcp__foo.bar__*', safe.name)).toBe(false);
829-
expect(matchesMcpPattern('mcp__foo.bar', safe.name, 'mcp__foo_bar__x')).toBe(
830-
false,
831-
);
826+
expect(
827+
matchesMcpPattern('mcp__foo.bar', safe.name, 'mcp__foo_bar__x'),
828+
).toBe(false);
832829
});
833830
});

0 commit comments

Comments
 (0)