Skip to content

Commit b817e93

Browse files
os-zhuangclaude
andcommitted
test(spec): drop policies↔policy mapping assertions after PolicySchema removal
metadata-collection.test.ts asserted the now-removed `policies`/`policy` collection alias (PLURAL_TO_SINGULAR / pluralToSingular / singularToPlural). Full spec suite (6595) now green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 16bcb56 commit b817e93

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

packages/spec/src/shared/metadata-collection.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,6 @@ describe('PLURAL_TO_SINGULAR / SINGULAR_TO_PLURAL', () => {
288288
});
289289

290290
it('should map irregular plural forms correctly', () => {
291-
expect(PLURAL_TO_SINGULAR['policies']).toBe('policy');
292291
expect(PLURAL_TO_SINGULAR['sharingRules']).toBe('sharing_rule');
293292
expect(PLURAL_TO_SINGULAR['analyticsCubes']).toBe('analytics_cube');
294293
expect(PLURAL_TO_SINGULAR['ragPipelines']).toBe('rag_pipeline');
@@ -304,7 +303,6 @@ describe('PLURAL_TO_SINGULAR / SINGULAR_TO_PLURAL', () => {
304303
describe('pluralToSingular', () => {
305304
it('should convert known plural to singular', () => {
306305
expect(pluralToSingular('apps')).toBe('app');
307-
expect(pluralToSingular('policies')).toBe('policy');
308306
expect(pluralToSingular('sharingRules')).toBe('sharing_rule');
309307
});
310308

@@ -317,7 +315,6 @@ describe('pluralToSingular', () => {
317315
describe('singularToPlural', () => {
318316
it('should convert known singular to plural', () => {
319317
expect(singularToPlural('app')).toBe('apps');
320-
expect(singularToPlural('policy')).toBe('policies');
321318
expect(singularToPlural('sharing_rule')).toBe('sharingRules');
322319
});
323320

0 commit comments

Comments
 (0)