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

Unified Diff: test/mjsunit/regress/regress-3199913.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-3185905.js ('k') | test/mjsunit/regress/regress-3218915.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-3199913.js
diff --git a/test/mjsunit/regress/regress-3199913.js b/test/mjsunit/regress/regress-3199913.js
index e202af18f3e1ffd1b0bd79f660955226f7157380..073d6cc2d2dc338cdfb77c434b9f69141553ed43 100644
--- a/test/mjsunit/regress/regress-3199913.js
+++ b/test/mjsunit/regress/regress-3199913.js
@@ -29,16 +29,16 @@
// intended.
var y = {
- 'a' : function (x, y) { return 'called a(' + x + ', ' + y + ')' },
- 'b' : function (x, y) { return 'called b(' + x + ', ' + y + ')' }
-}
+ 'a' : function (x, y) { return 'called a(' + x + ', ' + y + ')'; },
+ 'b' : function (x, y) { return 'called b(' + x + ', ' + y + ')'; }
+};
function C() {
}
C.prototype.f = function () {
return y[(this.a == 1 ? "a" : "b")](0, 1);
-}
+};
-obj = new C()
-assertEquals('called b(0, 1)', obj.f())
+obj = new C();
+assertEquals('called b(0, 1)', obj.f());
« no previous file with comments | « test/mjsunit/regress/regress-3185905.js ('k') | test/mjsunit/regress/regress-3218915.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698