style: format the separator guard

This commit is contained in:
Marc-André Bombeck committed 2026-10-09 16:52:30 +02:00
1 parent 27715c06e0
commit 8d1283a32a
1 file changed
+1 -3
+1 -3
View File
@@ -66,9 +66,7 @@ describe("message bundles carry no ' · ', ' — ' or ' – ' separator", () =>
it(`${file} has no dot or dash separator outside the allowlist`, () => {
const offenders = [...values]
.filter(
([key, value]) => hasSeparator(value) && !(key in ALLOWED),
)
.filter(([key, value]) => hasSeparator(value) && !(key in ALLOWED))
.map(([key, value]) => `${key} = ${JSON.stringify(value)}`);
expect(offenders).toEqual([]);
});