Fixing tests of internal test suite.

This commit is contained in:
Ruben Ayrapetyan
2014-11-06 17:39:24 +03:00
parent e33e6a77cb
commit 7c488ea11a
21 changed files with 50 additions and 25 deletions
@@ -13,6 +13,7 @@
// limitations under the License.
"use strict";
var foo = new Function("baz", "baz", "baz", "return 0;");
assert(false);
assert(foo() === 0);
@@ -13,5 +13,5 @@
// limitations under the License.
assert(Function.prototype.toString.hasOwnProperty('length'));
assert(delete Function.prototype.toString.length);
assert(!(delete Function.prototype.toString.length));
assert(Function.prototype.toString.hasOwnProperty('length'));
@@ -13,5 +13,5 @@
// limitations under the License.
assert(Function.prototype.toString.hasOwnProperty('length'));
assert(delete Function.prototype.toString.length);
assert(!(delete Function.prototype.toString.length));
assert(Function.prototype.toString.hasOwnProperty('length'));