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/string-charcodeat.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/string-charat.js ('k') | test/mjsunit/string-compare-alignment.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/string-charcodeat.js
diff --git a/test/mjsunit/string-charcodeat.js b/test/mjsunit/string-charcodeat.js
index 8be6a092e6b8e557c7ecfe6fe73cea1dce7ecc47..15d5a093593ef0d3e32a5403a65cd8366ed96a9c 100644
--- a/test/mjsunit/string-charcodeat.js
+++ b/test/mjsunit/string-charcodeat.js
@@ -111,7 +111,7 @@ function NotAString16() {
function TestStringType(generator, sixteen) {
var g = generator;
var len = g().toString().length;
- var t = sixteen ? "t" : "f"
+ var t = sixteen ? "t" : "f";
t += generator.name;
assertTrue(isNaN(g().charCodeAt(-1e19)), 1 + t);
assertTrue(isNaN(g().charCodeAt(-0x80000001)), 2 + t);
@@ -175,7 +175,7 @@ for (var i = 0; i != 10; i++) {
function StupidThing() {
// Doesn't return a string from toString!
- this.toString = function() { return 42; }
+ this.toString = function() { return 42; };
this.charCodeAt = String.prototype.charCodeAt;
}
« no previous file with comments | « test/mjsunit/string-charat.js ('k') | test/mjsunit/string-compare-alignment.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698