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

Unified Diff: test/mjsunit/object-create.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/number-string-index-call.js ('k') | test/mjsunit/object-define-property.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/object-create.js
diff --git a/test/mjsunit/object-create.js b/test/mjsunit/object-create.js
index d8385842a384fd614f374638c290fdbe59a1d3d4..90aa76301886cc269b9c28dc20f2934a7767e603 100644
--- a/test/mjsunit/object-create.js
+++ b/test/mjsunit/object-create.js
@@ -63,8 +63,14 @@ var fooSetter = { foo: { set: function() { return ctr4++; }}};
var fooAmbiguous = { foo: { get: function() { return ctr3++; },
value: 3 }};
-function valueGet() { ctr5++; return 3 };
-function getterGet() { ctr5++; return function() { return ctr6++; }; };
+function valueGet() {
+ ctr5++;
+ return 3;
+}
+function getterGet() {
+ ctr5++;
+ return function() { return ctr6++; };
+}
// Simple object with prototype, no properties added.
Object.create(protoFoo).foo();
@@ -177,7 +183,7 @@ var magicWritableProps = {
return false;
}}})};
-var fooNotWritable = Object.create(null, magicWritableProps)
+var fooNotWritable = Object.create(null, magicWritableProps);
assertEquals(1002, ctr6);
assertEquals(4, fooNotWritable.foo);
fooNotWritable.foo = 5;
« no previous file with comments | « test/mjsunit/number-string-index-call.js ('k') | test/mjsunit/object-define-property.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698