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

Unified Diff: test/mjsunit/harmony/super.js

Issue 613253002: Fix style nits in test (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/harmony/super.js
diff --git a/test/mjsunit/harmony/super.js b/test/mjsunit/harmony/super.js
index 5d3ee2b999385414853c70a5298817c460f1e347..e23328b1070ac4fd0f8a180eb81735f3ae9474bc 100644
--- a/test/mjsunit/harmony/super.js
+++ b/test/mjsunit/harmony/super.js
@@ -123,7 +123,7 @@
function Base() {}
Base.prototype = {
constructor: Base,
- x : "x from Base"
+ x: 'x from Base'
};
function Derived() {}
@@ -133,10 +133,10 @@
};
Derived.prototype.testSetter = function() {
- assertEquals("x from Base", super.x);
- super.x = "data property";
- assertEquals("x from Base", super.x);
- assertEquals("data property", this.x);
+ assertEquals('x from Base', super.x);
+ super.x = 'data property';
+ assertEquals('x from Base', super.x);
+ assertEquals('data property', this.x);
}.toMethod(Derived.prototype);
new Derived().testSetter();
@@ -208,7 +208,7 @@
var ex;
try {
super.newProperty = 15;
- } catch(e) { ex = e; }
+ } catch (e) { ex = e; }
assertTrue(ex instanceof TypeError);
}.toMethod(Derived.prototype);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698