mirror of https://github.com/tc39/test262.git
correct style-short.js
This commit is contained in:
parent
81de828140
commit
17fe569a5e
|
@ -47,7 +47,7 @@ const rtf = new Intl.RelativeTimeFormat("pl-PL", {
|
|||
assert.sameValue(typeof rtf.format, "function", "format should be supported");
|
||||
|
||||
for (const [unitArgument, expected] of Object.entries(units)) {
|
||||
assert.sameValue(rtf.format(1000, unitArgument), `za 1\u00a0000 ${expected.many}`);
|
||||
assert.sameValue(rtf.format(1000, unitArgument), `za 1000 ${expected.many}`);
|
||||
assert.sameValue(rtf.format(10, unitArgument), `za 10 ${expected.many}`);
|
||||
assert.sameValue(rtf.format(2, unitArgument), `za 2 ${expected.few}`);
|
||||
assert.sameValue(rtf.format(1, unitArgument), `za 1 ${expected.one}`);
|
||||
|
@ -56,5 +56,5 @@ for (const [unitArgument, expected] of Object.entries(units)) {
|
|||
assert.sameValue(rtf.format(-1, unitArgument), `1 ${expected.one} temu`);
|
||||
assert.sameValue(rtf.format(-2, unitArgument), `2 ${expected.few} temu`);
|
||||
assert.sameValue(rtf.format(-10, unitArgument), `10 ${expected.many} temu`);
|
||||
assert.sameValue(rtf.format(-1000, unitArgument), `1\u00a0000 ${expected.many} temu`);
|
||||
assert.sameValue(rtf.format(-1000, unitArgument), `1000 ${expected.many} temu`);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue