From cd55e30938824731385c108da8df9da10484eacc Mon Sep 17 00:00:00 2001
From: Ujjwal Sharma <usharma1998@gmail.com>
Date: Wed, 3 Oct 2018 00:46:35 +0530
Subject: [PATCH] Update test to actually check properties

---
 .../NumberFormat/constructor-locales-string.js       | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/test/intl402/NumberFormat/constructor-locales-string.js b/test/intl402/NumberFormat/constructor-locales-string.js
index 226ec4ea78..b0baa3a084 100644
--- a/test/intl402/NumberFormat/constructor-locales-string.js
+++ b/test/intl402/NumberFormat/constructor-locales-string.js
@@ -13,7 +13,13 @@ info: |
     a. Let O be CreateArrayFromList(« locales »).
 ---*/
 
-const actual = Intl.NumberFormat('en-US');
-const expected = Intl.NumberFormat(['en-US']);
+const actual = Intl.NumberFormat('en-US').resolvedOptions();
+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);
-- 
GitLab