Reviewers: jochen,
Description:
Do not expect verbatim JPY symbol in test.
The choice for the symbol seems to be locale-dependent.
[email protected]
BUG=v8:4314
LOG=N
Please review this at https://codereview.chromium.org/1238133003/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+3, -2 lines):
M test/intl/number-format/format-currency.js
Index: test/intl/number-format/format-currency.js
diff --git a/test/intl/number-format/format-currency.js
b/test/intl/number-format/format-currency.js
index
4a8db4e7d5851b1ed179450c01135da2ceb5fa03..004c566ce45b7252693bed0518c51cbbe68fc3b1
100755
--- a/test/intl/number-format/format-currency.js
+++ b/test/intl/number-format/format-currency.js
@@ -9,9 +9,10 @@ var nf_USD = new Intl.NumberFormat(['en'],
{style: 'currency', currency: 'USD'})
assertEquals("$54,306.40", nf_USD.format(parseFloat(54306.4047970)));
-var nf_JPY = new Intl.NumberFormat(['ja'], {style: 'currency',
currency: 'JPY'});
+var nf_JPY = new Intl.NumberFormat(['ja'],
+ {style: 'currency', currency: 'JPY', currencyDisplay: "code"});
-assertEquals("¥54,306", nf_JPY.format(parseFloat(54306.4047970)));
+assertEquals("JPY54,306", nf_JPY.format(parseFloat(54306.4047970)));
var nf_EUR = new Intl.NumberFormat(['pt'], {style: 'currency',
currency: 'EUR'});
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.