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

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: 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
Index: test/mjsunit/object-create.js
diff --git a/test/mjsunit/object-create.js b/test/mjsunit/object-create.js
index d8385842a384fd614f374638c290fdbe59a1d3d4..dd77974d271d45dc48c46ea868d2c08faace8687 100644
--- a/test/mjsunit/object-create.js
+++ b/test/mjsunit/object-create.js
@@ -63,8 +63,8 @@ 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; }
Rico 2011/12/08 10:24:37 individual lines for body
+function getterGet() { ctr5++; return function() { return ctr6++; }; }
Rico 2011/12/08 10:24:37 individual lines for body
// Simple object with prototype, no properties added.
Object.create(protoFoo).foo();
@@ -177,7 +177,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;

Powered by Google App Engine
This is Rietveld 408576698