Bug 1299615 - Part 7: Adjust expected test result after update to ICU 58. r=Waldo
authorAndré Bargull <andre.bargull@gmail.com>
Thu, 27 Oct 2016 15:41:59 -0700
changeset 351340 a3cc99e3ff2427b7e24c7e62aa7d9dc83e01b7e5
parent 351339 9c8727f367c571c83ffea40170a41401792956e9
child 351341 d22677d3a37f5fa0e6d019242bc3b6865b889556
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersWaldo
bugs1299615
milestone52.0a1
Bug 1299615 - Part 7: Adjust expected test result after update to ICU 58. r=Waldo
js/src/tests/Intl/NumberFormat/format.js
--- a/js/src/tests/Intl/NumberFormat/format.js
+++ b/js/src/tests/Intl/NumberFormat/format.js
@@ -26,19 +26,19 @@ assertEq(format.format(123456789.1234567
 format = new Intl.NumberFormat("ja-jp", {style: "currency", currency: "JPY"});
 assertEq(format.format(0), "¥0");
 assertEq(format.format(-1), "-¥1");
 assertEq(format.format(123456789.123456789), "¥123,456,789");
 
 // Locale ar-JO; currency JOD.
 // The Jordanian Dinar divides into 1000 fils. Jordan uses (real) Arabic digits.
 format = new Intl.NumberFormat("ar-jo", {style: "currency", currency: "JOD"});
-assertEq(format.format(0), "د.أ.‏ ٠٫٠٠٠");
-assertEq(format.format(-1), "‏-د.أ.‏ ١٫٠٠٠");
-assertEq(format.format(123456789.123456789), "د.أ.‏ ١٢٣٬٤٥٦٬٧٨٩٫١٢٣");
+assertEq(format.format(0), "٠٫٠٠٠ د.أ.‏");
+assertEq(format.format(-1), "؜-١٫٠٠٠ د.أ.‏");
+assertEq(format.format(123456789.123456789), "١٢٣٬٤٥٦٬٧٨٩٫١٢٣ د.أ.‏");
 
 // Locale th-TH; Thai digits, percent, two significant digits.
 format = new Intl.NumberFormat("th-th-u-nu-thai",
                                {style: "percent",
                                 minimumSignificantDigits: 2,
                                 maximumSignificantDigits: 2});
 assertEq(format.format(0), "๐.๐%");
 assertEq(format.format(-0.01), "-๑.๐%");