Commit d5083451 authored by yangguo's avatar yangguo Committed by Commit bot

Do not expect verbatim JPY symbol in test.

The choice for the symbol seems to be locale-dependent.

R=jochen@chromium.org
BUG=v8:4314
LOG=N

Review URL: https://codereview.chromium.org/1238133003

Cr-Commit-Position: refs/heads/master@{#29750}
parent d4cd3f5e
......@@ -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'});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment