Fix test for TypedArray(length)

Fixes gh-694
This commit is contained in:
Leonardo Balter 2016-06-27 15:17:12 -04:00 committed by Mike Pennisi
parent 6497c1f5cc
commit 09be4da196
1 changed files with 1 additions and 15 deletions

View File

@ -16,18 +16,6 @@ info: >
includes: [testTypedArray.js]
---*/
var obj1 = {
valueOf: function() {
return 3;
}
};
var obj2 = {
toString: function() {
return 4;
}
};
var items = [
[-0, 0, "-0"],
["", 0, "the Empty string"],
@ -43,9 +31,7 @@ var items = [
[1.1, 1, "1.1"],
[1.9, 1, "1.9"],
[-0.1, 0, "-0.1"],
[-0.99999, 0, "-0.99999"],
[obj1, 3, "object's valueOf"],
[obj2, 4, "object's toString"]
[-0.99999, 0, "-0.99999"]
];
testWithTypedArrayConstructors(function(TA) {