Skip to content
Snippets Groups Projects
Commit 09be4da1 authored by Leonardo Balter's avatar Leonardo Balter Committed by Mike Pennisi
Browse files

Fix test for TypedArray(length)

Fixes gh-694
parent 6497c1f5
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment