Skip to content
Snippets Groups Projects
Commit cd55e309 authored by Ujjwal Sharma's avatar Ujjwal Sharma Committed by Rick Waldron
Browse files

Update test to actually check properties

parent af0f53bb
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,13 @@ info: | ...@@ -13,7 +13,13 @@ info: |
a. Let O be CreateArrayFromList(« locales »). a. Let O be CreateArrayFromList(« locales »).
---*/ ---*/
const actual = Intl.NumberFormat('en-US'); const actual = Intl.NumberFormat('en-US').resolvedOptions();
const expected = Intl.NumberFormat(['en-US']); const expected = Intl.NumberFormat(['en-US']).resolvedOptions();
assert.sameValue(actual.resolvedOptions(), expected.resolvedOptions()); assert.sameValue(actual.locale, expected.locale);
assert.sameValue(actual.minimumIntegerDigits, expected.minimumIntegerDigits);
assert.sameValue(actual.minimumFractionDigits, expected.minimumFractionDigits);
assert.sameValue(actual.maximumFractionDigits, expected.maximumFractionDigits);
assert.sameValue(actual.numberingSystem, expected.numberingSystem);
assert.sameValue(actual.style, expected.style);
assert.sameValue(actual.useGrouping, expected.useGrouping);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment