Index: tests/corelib/json_test.dart |
diff --git a/tests/corelib/json_test.dart b/tests/corelib/json_test.dart |
index a5f769f7f6b4d03e5f29600c76490b846954e874..75d22a3bd89e1d7086ae60958646a29e13d7f681 100644 |
--- a/tests/corelib/json_test.dart |
+++ b/tests/corelib/json_test.dart |
@@ -97,11 +97,8 @@ testNumbers() { |
// Integer part cannot be omitted: |
testError(integers: ""); |
- |
- // Test for "Initial zero only allowed for zero integer part" moved to |
- // json_leading_zeros_test.dart because IE's JSON.parse accepts additional |
- // initial zeros. |
- |
+ // Initial zero only allowed for zero integer part. |
+ testError(integers: ["00", "01"]); |
// Only minus allowed as sign. |
testError(signs: "+"); |
// Requires digits after decimal point. |