diff options
author | Leo Balter <leonardo.balter@gmail.com> | 2018-02-15 13:00:09 -0500 |
---|---|---|
committer | Leo Balter <leonardo.balter@gmail.com> | 2018-02-15 16:45:08 -0500 |
commit | 098c69540ee57f94daf795b20e8a3e70ab986860 (patch) | |
tree | 9b207f1900e7beb8f3b28989230b00e00c80ef38 /test/built-ins/TypedArray/prototype/indexOf/fromIndex-minus-zero.js | |
parent | 3f3f2faa8e71eaa3f316635dc8fb3c3a0661b654 (diff) | |
download | qtdeclarative-testsuites-098c69540ee57f94daf795b20e8a3e70ab986860.tar.gz |
Remove N()
Diffstat (limited to 'test/built-ins/TypedArray/prototype/indexOf/fromIndex-minus-zero.js')
-rw-r--r-- | test/built-ins/TypedArray/prototype/indexOf/fromIndex-minus-zero.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/built-ins/TypedArray/prototype/indexOf/fromIndex-minus-zero.js b/test/built-ins/TypedArray/prototype/indexOf/fromIndex-minus-zero.js index 46fbb0550..3e4dfae8f 100644 --- a/test/built-ins/TypedArray/prototype/indexOf/fromIndex-minus-zero.js +++ b/test/built-ins/TypedArray/prototype/indexOf/fromIndex-minus-zero.js @@ -21,10 +21,10 @@ includes: [testTypedArray.js] features: [TypedArray] ---*/ -testWithTypedArrayConstructors(function(TA, N) { +testWithTypedArrayConstructors(function(TA) { var sample; - sample = new TA(N([42, 43])); - assert.sameValue(sample.indexOf(N(42), -0), 0, "-0 [0]"); - assert.sameValue(sample.indexOf(N(43), -0), 1, "-0 [1]"); + sample = new TA([42, 43]); + assert.sameValue(sample.indexOf(42, -0), 0, "-0 [0]"); + assert.sameValue(sample.indexOf(43, -0), 1, "-0 [1]"); }); |