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

Unified Diff: test/mjsunit/switch.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/substr.js ('k') | test/mjsunit/throw-exception-for-null-access.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/switch.js
diff --git a/test/mjsunit/switch.js b/test/mjsunit/switch.js
index 6a61fe5940933ddb68ef4aeaf482b1fd92ec7aa4..e4f8194c5333fbeccaa2fcc85cdfcc07812b7623 100644
--- a/test/mjsunit/switch.js
+++ b/test/mjsunit/switch.js
@@ -162,7 +162,7 @@ function regress_string(value) {
}
return json;
-};
+}
assertEquals(1, regress_string('object'), 'regression-string');
function f5(x) {
@@ -367,7 +367,7 @@ function switch_gen(clause_type, feedback, optimize) {
if (optimize) %OptimizeFunctionOnNextCall(fn);
return fn;
- };
+ }
return opt(new Function(
'tag',
@@ -379,7 +379,7 @@ function switch_gen(clause_type, feedback, optimize) {
}).join(';') +
'}'
));
-};
+}
function test_switch(clause_type, test_type, feedback, optimize) {
var pairs = [],
@@ -431,7 +431,7 @@ function test_switch(clause_type, test_type, feedback, optimize) {
pairs.forEach(function(pair) {
assertEquals(fn(pair.value), pair.expected);
});
-};
+}
// test_switch(clause_type, test_type, feedback, optimize);
@@ -451,12 +451,12 @@ function test_switches(opt) {
test_switch(clause_type, test_type, value, value, opt);
});
});
- };
+ }
test('string');
test('smi');
test('mixed');
-};
+}
test_switches(false);
test_switches(true);
« no previous file with comments | « test/mjsunit/substr.js ('k') | test/mjsunit/throw-exception-for-null-access.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698