Skip to content

Commit 53272fc

Browse files
committed
test(spec): assert the prescription's actual plural spelling ('were removed')
The refusal fired correctly; the assertion named the singular. Caught by the run, not by reading. Part of #12340 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W6HFzyH98W1YaQXhJUJt6o
1 parent 328a6a2 commit 53272fc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/spec/src/kernel/plugin-lifecycle-advanced.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ describe('Plugin Lifecycle Advanced Schemas', () => {
148148
// document for whoever hits it. Assert the load-bearing clauses, not
149149
// the byte string.
150150
const message = result.success ? '' : result.error.issues[0]?.message ?? '';
151-
expect(message).toContain('was removed');
151+
expect(message).toContain('were removed');
152152
expect(message).toContain('#12340');
153153
expect(message).toContain('ADR-0049');
154154
expect(message).toMatch(/memory fallback|in-memory Map/);
@@ -163,7 +163,7 @@ describe('Plugin Lifecycle Advanced Schemas', () => {
163163
const result = HotReloadConfigSchema.safeParse({ stateStrategy: 'dsik' });
164164
expect(result.success).toBe(false);
165165
const message = result.success ? '' : result.error.issues[0]?.message ?? '';
166-
expect(message).not.toContain('was removed');
166+
expect(message).not.toContain('were removed');
167167
expect(message).not.toContain('#12340');
168168
});
169169

0 commit comments

Comments
 (0)