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

Unified Diff: test/mjsunit/regexp-static.js

Issue 8888006: Make more JS files beter match the coding standard. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 9 years 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/regexp-lookahead.js ('k') | test/mjsunit/regress/regress-1015.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regexp-static.js
diff --git a/test/mjsunit/regexp-static.js b/test/mjsunit/regexp-static.js
index 8f283f6ceebe3ae1f5cb2fe681afb6b1c312acf5..396b308d861e85a8d3a030e359a155651a32793a 100644
--- a/test/mjsunit/regexp-static.js
+++ b/test/mjsunit/regexp-static.js
@@ -118,7 +118,7 @@ for (var i = 4; i < 10; ++i) {
// global regexp is matched and replaced with the result of a function, in
// case the function uses the static properties of the regexp constructor.
re = /(.)/g;
-function f() { return RegExp.$1; };
+function f() { return RegExp.$1; }
assertEquals('abcd', 'abcd'.replace(re, f));
// lastParen where the last parenthesis didn't match.
« no previous file with comments | « test/mjsunit/regexp-lookahead.js ('k') | test/mjsunit/regress/regress-1015.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698