Skip to content

Commit e03da18

Browse files
committed
test(i18n): count the two quoted de iterate_or_new strings in the quote census
The de pack's quote census pins every correctly paired „…“ span. The iterate_or_new question and its extend choice each name the existing app („{{app}}“), so the census moves from 98 to 100 paired spans. Claude-Session: https://claude.ai/code/session_01Utp6Ca9ZbSdPg2iuzBYA3d Co-authored-by: Claude <noreply@anthropic.com>
1 parent f54fe51 commit e03da18

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

‎ui/packages/i18n/src/__tests__/de-quote-pairing-3876.test.ts‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,11 @@ describe('objectui#3876 — de pack closes „ with “ and not with a straight
359359
// 98 once objectstack-ai/objectstack#27176 added
360360
// `preview.changes.draftedByMcpClient`, the changes drawer's line that names
361361
// the MCP client („{{client}}“) — one interpolated span, runtime data.
362-
expect(okSpans, 'correctly paired spans').toBe(98);
362+
// 100 once objectstack-ai/objectstack#27480 added
363+
// `chatbot.plan.iterateOrNew.question` and `.extend`, the plan card's
364+
// extend-or-new question and its choice that name the existing app
365+
// („{{app}}“) — one interpolated span each, runtime data.
366+
expect(okSpans, 'correctly paired spans').toBe(100);
363367
});
364368

365369
it('keeps the count identity that replaces the card’s count(„) === count(“)', () => {
@@ -427,7 +431,9 @@ describe('objectui#3876 — de pack closes „ with “ and not with a straight
427431
// objectstack-ai/objectstack#26469 reworded `chatbot.build.draftPosture`,
428432
// one more matched pair. 98 / 98 / 0 after objectstack-ai/objectstack#27176
429433
// added `preview.changes.draftedByMcpClient`, one more matched pair.
430-
expect({ open, close, rdq }).toEqual({ open: 98, close: 98, rdq: 0 });
434+
// 100 / 100 / 0 after objectstack-ai/objectstack#27480 added
435+
// `chatbot.plan.iterateOrNew.question` and `.extend`, one matched pair each.
436+
expect({ open, close, rdq }).toEqual({ open: 100, close: 100, rdq: 0 });
431437
// The durable shape: every „ closed by a “, every surplus “ an English
432438
// opener answered by a ”. Survived translating the two English values.
433439
expect(close).toBe(open + rdq);

0 commit comments

Comments
 (0)