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

Unified Diff: test/mjsunit/regexp-capture-3.js

Issue 10141007: Make --stress-compaction more stressful. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 8 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
« src/spaces-inl.h ('K') | « src/spaces-inl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regexp-capture-3.js
===================================================================
--- test/mjsunit/regexp-capture-3.js (revision 11422)
+++ test/mjsunit/regexp-capture-3.js (working copy)
@@ -149,6 +149,8 @@
assertEquals("bar", RegExp.$1);
+// A test that initially does a zero width match, but later does a non-zero
+// width match.
var a = "foo bar baz".replace(/^|bar/g, "");
assertEquals("foo baz", a);
« src/spaces-inl.h ('K') | « src/spaces-inl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698