From 584b651edfcfaa4c37725c23dcad0a40a541f35c Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Tue, 21 Aug 2018 11:47:11 +0200 Subject: [PATCH] Intl.Locale: Expect boolean values from the numeric getter. The spec changed in . --- test/intl402/Locale/getters.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/intl402/Locale/getters.js b/test/intl402/Locale/getters.js index 9dbe4b419f..583a1b67dd 100644 --- a/test/intl402/Locale/getters.js +++ b/test/intl402/Locale/getters.js @@ -62,7 +62,7 @@ if ("caseFirst" in loc) { assert.sameValue(loc.caseFirst, "true"); } if ("numeric" in loc) { - assert.sameValue(loc.numeric, "false"); + assert.sameValue(loc.numeric, false); } assert.sameValue(loc.numberingSystem, "latn"); @@ -92,7 +92,7 @@ if ("caseFirst" in loc) { assert.sameValue(loc.caseFirst, "false"); } if ("numeric" in loc) { - assert.sameValue(loc.numeric, "true"); + assert.sameValue(loc.numeric, true); } assert.sameValue(loc.numberingSystem, "jpanfin"); @@ -117,6 +117,6 @@ if ("caseFirst" in loc) { assert.sameValue(loc.caseFirst, "true"); } if ("numeric" in loc) { - assert.sameValue(loc.numeric, "false"); + assert.sameValue(loc.numeric, false); } assert.sameValue(loc.numberingSystem, "latn");