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

Unified Diff: test/mjsunit/regress/regress-2570.js

Issue 12702009: Extend test coverage for JSON.stringify's slow path. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 9 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 | « test/mjsunit/regress/regress-2374.js ('k') | test/mjsunit/regress/regress-753.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-2570.js
diff --git a/test/mjsunit/regress/regress-2570.js b/test/mjsunit/regress/regress-2570.js
index f9060e8c07272b65f224de2ff7bf421657d3ba0a..4e32a21e4b9c673131efe2baa9127f20f1134741 100644
--- a/test/mjsunit/regress/regress-2570.js
+++ b/test/mjsunit/regress/regress-2570.js
@@ -29,3 +29,4 @@ var o = ["\u56e7", // Switch JSON stringifier to two-byte mode.
"\u00e6"]; // Latin-1 character.
assertEquals('["\u56e7","\u00e6"]', JSON.stringify(o));
+assertEquals('["\u56e7","\u00e6"]', JSON.stringify(o, null, 0));
« no previous file with comments | « test/mjsunit/regress/regress-2374.js ('k') | test/mjsunit/regress/regress-753.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698