Title: [183773] trunk/LayoutTests
Revision
183773
Author
[email protected]
Date
2015-05-04 14:42:45 -0700 (Mon, 04 May 2015)

Log Message

Fix the test after r183758 since shouldNotBe is not supported in the standalone testing.

* js/class-syntax-default-constructor-expected.txt:
* js/script-tests/class-syntax-default-constructor.js:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (183772 => 183773)


--- trunk/LayoutTests/ChangeLog	2015-05-04 20:46:09 UTC (rev 183772)
+++ trunk/LayoutTests/ChangeLog	2015-05-04 21:42:45 UTC (rev 183773)
@@ -1,5 +1,12 @@
 2015-05-04  Ryosuke Niwa  <[email protected]>
 
+        Fix the test after r183758 since shouldNotBe is not supported in the standalone testing.
+
+        * js/class-syntax-default-constructor-expected.txt:
+        * js/script-tests/class-syntax-default-constructor.js:
+
+2015-05-04  Ryosuke Niwa  <[email protected]>
+
         Toggling underline or strike through affects each other
         https://bugs.webkit.org/show_bug.cgi?id=27818
 

Modified: trunk/LayoutTests/js/class-syntax-default-constructor-expected.txt (183772 => 183773)


--- trunk/LayoutTests/js/class-syntax-default-constructor-expected.txt	2015-05-04 20:46:09 UTC (rev 183772)
+++ trunk/LayoutTests/js/class-syntax-default-constructor-expected.txt	2015-05-04 21:42:45 UTC (rev 183773)
@@ -11,7 +11,7 @@
 PASS B() threw exception TypeError: Cannot call a class constructor.
 PASS B.prototype.constructor.name is "B"
 PASS A !== B is true
-PASS A.prototype.constructor is not B.prototype.constructor
+PASS A.prototype.constructor !== B.prototype.constructor is true
 PASS new (class extends (class { constructor(a, b) { return [a, b]; } }) {})(1, 2) is [1, 2]
 PASS successfullyParsed is true
 

Modified: trunk/LayoutTests/js/script-tests/class-syntax-default-constructor.js (183772 => 183773)


--- trunk/LayoutTests/js/script-tests/class-syntax-default-constructor.js	2015-05-04 20:46:09 UTC (rev 183772)
+++ trunk/LayoutTests/js/script-tests/class-syntax-default-constructor.js	2015-05-04 21:42:45 UTC (rev 183773)
@@ -12,7 +12,7 @@
 shouldThrow('B()', '"TypeError: Cannot call a class constructor"');
 shouldBe('B.prototype.constructor.name', '"B"');
 shouldBeTrue('A !== B');
-shouldNotBe('A.prototype.constructor', 'B.prototype.constructor');
+shouldBeTrue('A.prototype.constructor !== B.prototype.constructor');
 shouldBe('new (class extends (class { constructor(a, b) { return [a, b]; } }) {})(1, 2)', '[1, 2]');
 
 var successfullyParsed = true;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to