From 58b326f0c4c96a1433e9763e68b0e03ff29d1974 Mon Sep 17 00:00:00 2001
From: Viktor <vic99999@yandex.ru>
Date: Thu, 2 Mar 2017 02:14:33 +0500
Subject: [PATCH] fix for the wrong test of Intl.NumberFormat (ToRawPrecision)
 (#857)

1) (123.44500) == 123.444999999999993179
2) (123.44500).toPrecision(5) === "123.44" gives correct value in Chrome and Firefox;

Ref https://github.com/tc39/ecma402/issues/128
---
 test/intl402/NumberFormat/prototype/format/11.3.2_TRP.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/intl402/NumberFormat/prototype/format/11.3.2_TRP.js b/test/intl402/NumberFormat/prototype/format/11.3.2_TRP.js
index d818b7b479..53e3a8d73b 100644
--- a/test/intl402/NumberFormat/prototype/format/11.3.2_TRP.js
+++ b/test/intl402/NumberFormat/prototype/format/11.3.2_TRP.js
@@ -32,8 +32,8 @@ var testData = {
     "-123.45": "-123.45",
     "123.44499": "123.44",
     "-123.44499": "-123.44",
-    "123.44500": "123.45",
-    "-123.44500": "-123.45",
+    "123.44500": "123.44",
+    "-123.44500": "-123.44",
     "123.44501": "123.45",
     "-123.44501": "-123.45",
     "0.001234": "0.001234",
-- 
GitLab