From 512d655d3200a5f6e7d21fc806659d0e98822ba3 Mon Sep 17 00:00:00 2001 From: Jamie Kyle <113370520+jamiebuilds-signal@users.noreply.github.com> Date: Mon, 10 Oct 2022 12:12:57 -0700 Subject: [PATCH] fix intl-linter tests --- build/intl-linter/linter.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build/intl-linter/linter.ts b/build/intl-linter/linter.ts index 9639ffa4ab17..b2f4b1c4ed26 100644 --- a/build/intl-linter/linter.ts +++ b/build/intl-linter/linter.ts @@ -35,27 +35,27 @@ type Test = { }; const tests: Record = { - err1: { + 'icu:err1': { messageformat: '{a, plural, other {a}} {b, plural, other {b}}', expectErrors: ['onePlural'], }, - err2: { + 'icu:err2': { messageformat: '{a, plural, other {{b, plural, other {b}}}}', expectErrors: ['noNestedChoice', 'onePlural'], }, - err3: { + 'icu:err3': { messageformat: '{a, select, other {{b, select, other {b}}}}', expectErrors: ['noNestedChoice'], }, - err4: { + 'icu:err4': { messageformat: '{a, plural, offset:1 other {a}}', expectErrors: ['noOffset'], }, - err5: { + 'icu:err5': { messageformat: '{a, selectordinal, other {a}}', expectErrors: ['noOrdinal'], }, - err6: { + 'icu:err6': { messageformat: '$a$', expectErrors: ['noLegacyVariables'], },