* js/class-syntax-default-constructor-expected.txt:
* js/script-tests/class-syntax-default-constructor.js:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@183773
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2015-05-04 Ryosuke Niwa <rniwa@webkit.org>
+
+ 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 <rniwa@webkit.org>
Toggling underline or strike through affects each other
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
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;