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

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

Issue 6930006: Make RegExp objects not callable. (Closed)
Patch Set: Address review comments Created 9 years, 7 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-603.js ('k') | test/mjsunit/typeof.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-752.js
diff --git a/test/mjsunit/regress/regress-752.js b/test/mjsunit/regress/regress-752.js
index 1142a1fffadfec6d92f4d6d3c1ea606ad3e14fb4..d38870ef036c4dc7d57e6a34079b315dbe626366 100644
--- a/test/mjsunit/regress/regress-752.js
+++ b/test/mjsunit/regress/regress-752.js
@@ -33,4 +33,4 @@ function replacer(key, value) {
return value === 42 ? new Boolean(false) : value;
}
-assertEquals(JSON.stringify([42], replacer), "[false]");
+assertEquals("[false]", JSON.stringify([42], replacer));
« no previous file with comments | « test/mjsunit/regress/regress-603.js ('k') | test/mjsunit/typeof.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698