summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArray/prototype/set/array-arg-set-values-in-order.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/TypedArray/prototype/set/array-arg-set-values-in-order.js')
-rw-r--r--test/built-ins/TypedArray/prototype/set/array-arg-set-values-in-order.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/built-ins/TypedArray/prototype/set/array-arg-set-values-in-order.js b/test/built-ins/TypedArray/prototype/set/array-arg-set-values-in-order.js
index 95ef44d9f..9c1603a30 100644
--- a/test/built-ins/TypedArray/prototype/set/array-arg-set-values-in-order.js
+++ b/test/built-ins/TypedArray/prototype/set/array-arg-set-values-in-order.js
@@ -22,7 +22,7 @@ includes: [testTypedArray.js, compareArray.js]
features: [TypedArray]
---*/
-testWithTypedArrayConstructors(function(TA, N) {
+testWithTypedArrayConstructors(function(TA) {
var sample = new TA(5);
var calls = [];
var obj = {
@@ -32,7 +32,7 @@ testWithTypedArrayConstructors(function(TA, N) {
get: function() {
calls.push(0);
calls.push(sample.join());
- return N(42);
+ return 42;
}
});
@@ -40,7 +40,7 @@ testWithTypedArrayConstructors(function(TA, N) {
get: function() {
calls.push(1);
calls.push(sample.join());
- return N(43);
+ return 43;
}
});
@@ -48,7 +48,7 @@ testWithTypedArrayConstructors(function(TA, N) {
get: function() {
calls.push(2);
calls.push(sample.join());
- return N(44);
+ return 44;
}
});
@@ -61,7 +61,7 @@ testWithTypedArrayConstructors(function(TA, N) {
sample.set(obj, 1);
assert(
- compareArray(sample, N([0, 42, 43, 44, 0])),
+ compareArray(sample, [0, 42, 43, 44, 0]),
"values are set for src length"
);