Index: test/intl/number-format/parse-decimal.js |
diff --git a/test/intl/number-format/parse-decimal.js b/test/intl/number-format/parse-decimal.js |
index ea3f8ddf30e161eecef48a98f806515ddc6178e6..01415b658f19870fafc4d13086f22bc73525228c 100644 |
--- a/test/intl/number-format/parse-decimal.js |
+++ b/test/intl/number-format/parse-decimal.js |
@@ -30,7 +30,9 @@ var nf = new Intl.NumberFormat(['en'], {style: 'decimal'}); |
assertEquals(123.43, nf.v8Parse('123.43')); |
assertEquals(123, nf.v8Parse('123')); |
assertEquals(NaN, nf.v8Parse(NaN)); |
-assertEquals(12323, nf.v8Parse('123,23')); |
+ |
+// a misplaced comma without a decimal point is not tolerated any more. |
+assertEquals(undefined, nf.v8Parse('123,23')); |
assertEquals(12323.456, nf.v8Parse('123,23.456')); |
assertEquals(12323.456, nf.v8Parse('0000000123,23.456')); |
assertEquals(-12323.456, nf.v8Parse('-123,23.456')); |