Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Unified Diff: tests/corelib/json_test.dart

Issue 12313069: Revert "Use browsers JSON.parse for parsing JSON (#3)" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/corelib/json_leading_zeros_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « tests/corelib/json_leading_zeros_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698