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

Unified Diff: test/mjsunit/regress/regress-219.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/regress/regress-201.js ('k') | test/mjsunit/regress/regress-269.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-219.js
diff --git a/test/mjsunit/regress/regress-219.js b/test/mjsunit/regress/regress-219.js
index b751f0f60f1e88eecb0e91b81bc943308603c898..352767421a3a37eb27207c276ce108e411771ad1 100644
--- a/test/mjsunit/regress/regress-219.js
+++ b/test/mjsunit/regress/regress-219.js
@@ -44,16 +44,16 @@ function assertFlags(re, global, multiline, ignoreCase) {
}
var re = /a/;
-assertFlags(re, false, false, false)
+assertFlags(re, false, false, false);
re = /a/gim;
-assertFlags(re, true, true, true)
+assertFlags(re, true, true, true);
re = RegExp("a","");
-assertFlags(re, false, false, false)
+assertFlags(re, false, false, false);
re = RegExp("a", "gim");
-assertFlags(re, true, true, true)
+assertFlags(re, true, true, true);
// Double i's
@@ -71,19 +71,19 @@ assertThrows("/a/giim");
assertThrows("/a/igim");
-assertThrows(function(){ return RegExp("a", "ii"); })
+assertThrows(function(){ return RegExp("a", "ii"); });
-assertThrows(function(){ return RegExp("a", "gii"); })
+assertThrows(function(){ return RegExp("a", "gii"); });
-assertThrows(function(){ return RegExp("a", "igi"); })
+assertThrows(function(){ return RegExp("a", "igi"); });
-assertThrows(function(){ return RegExp("a", "iig"); })
+assertThrows(function(){ return RegExp("a", "iig"); });
-assertThrows(function(){ return RegExp("a", "gimi"); })
+assertThrows(function(){ return RegExp("a", "gimi"); });
-assertThrows(function(){ return RegExp("a", "giim"); })
+assertThrows(function(){ return RegExp("a", "giim"); });
-assertThrows(function(){ return RegExp("a", "igim"); })
+assertThrows(function(){ return RegExp("a", "igim"); });
// Tripple i's
@@ -99,17 +99,17 @@ assertThrows("/a/iiig");
assertThrows("/a/miiig");
-assertThrows(function(){ return RegExp("a", "iii"); })
+assertThrows(function(){ return RegExp("a", "iii"); });
-assertThrows(function(){ return RegExp("a", "giii"); })
+assertThrows(function(){ return RegExp("a", "giii"); });
-assertThrows(function(){ return RegExp("a", "igii"); })
+assertThrows(function(){ return RegExp("a", "igii"); });
-assertThrows(function(){ return RegExp("a", "iigi"); })
+assertThrows(function(){ return RegExp("a", "iigi"); });
-assertThrows(function(){ return RegExp("a", "iiig"); })
+assertThrows(function(){ return RegExp("a", "iiig"); });
-assertThrows(function(){ return RegExp("a", "miiig"); })
+assertThrows(function(){ return RegExp("a", "miiig"); });
// Illegal flags - valid flags late in string.
@@ -124,7 +124,7 @@ assertThrows("/a/arglebargleglopglim");
// Case of flags still matters.
var re = /a/gmi;
-assertFlags(re, true, true, true)
+assertFlags(re, true, true, true);
assertThrows("/a/Gmi");
« no previous file with comments | « test/mjsunit/regress/regress-201.js ('k') | test/mjsunit/regress/regress-269.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698