Revision: 24336
Author:   dslo...@chromium.org
Date:     Tue Sep 30 15:30:10 2014 UTC
Log:      Fix style nits in test

R=a...@chromium.org

Review URL: https://codereview.chromium.org/613253002
https://code.google.com/p/v8/source/detail?r=24336

Modified:
 /branches/bleeding_edge/test/mjsunit/harmony/super.js

=======================================
--- /branches/bleeding_edge/test/mjsunit/harmony/super.js Tue Sep 30 13:19:47 2014 UTC +++ /branches/bleeding_edge/test/mjsunit/harmony/super.js Tue Sep 30 15:30:10 2014 UTC
@@ -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);

--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to