summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArray/prototype/some/values-are-not-cached.js
diff options
context:
space:
mode:
authorLeo Balter <leonardo.balter@gmail.com>2018-02-15 13:00:09 -0500
committerLeo Balter <leonardo.balter@gmail.com>2018-02-15 16:45:08 -0500
commit098c69540ee57f94daf795b20e8a3e70ab986860 (patch)
tree9b207f1900e7beb8f3b28989230b00e00c80ef38 /test/built-ins/TypedArray/prototype/some/values-are-not-cached.js
parent3f3f2faa8e71eaa3f316635dc8fb3c3a0661b654 (diff)
downloadqtdeclarative-testsuites-098c69540ee57f94daf795b20e8a3e70ab986860.tar.gz
Remove N()
Diffstat (limited to 'test/built-ins/TypedArray/prototype/some/values-are-not-cached.js')
-rw-r--r--test/built-ins/TypedArray/prototype/some/values-are-not-cached.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/built-ins/TypedArray/prototype/some/values-are-not-cached.js b/test/built-ins/TypedArray/prototype/some/values-are-not-cached.js
index 12fc43d9c..c8a3c2cde 100644
--- a/test/built-ins/TypedArray/prototype/some/values-are-not-cached.js
+++ b/test/built-ins/TypedArray/prototype/some/values-are-not-cached.js
@@ -25,16 +25,16 @@ includes: [testTypedArray.js]
features: [TypedArray]
---*/
-testWithTypedArrayConstructors(function(TA, N) {
- var sample = new TA(N([42, 43, 44]));
+testWithTypedArrayConstructors(function(TA) {
+ var sample = new TA([42, 43, 44]);
sample.some(function(v, i) {
if (i < sample.length - 1) {
- sample[i+1] = N(42);
+ sample[i+1] = 42;
}
assert.sameValue(
- v, N(42), "method does not cache values before callbackfn calls"
+ v, 42, "method does not cache values before callbackfn calls"
);
});
});