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 /harness | |
parent | 3f3f2faa8e71eaa3f316635dc8fb3c3a0661b654 (diff) | |
download | qtdeclarative-testsuites-098c69540ee57f94daf795b20e8a3e70ab986860.tar.gz |
Remove N()
Diffstat (limited to 'harness')
-rw-r--r-- | harness/testTypedArray.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/harness/testTypedArray.js b/harness/testTypedArray.js index bf6c4875e..2699214ca 100644 --- a/harness/testTypedArray.js +++ b/harness/testTypedArray.js @@ -41,11 +41,9 @@ var TypedArray = Object.getPrototypeOf(Int8Array); function testWithTypedArrayConstructors(f, selected) { var constructors = selected || typedArrayConstructors; for (var i = 0; i < constructors.length; ++i) { - // TODO: Remove this - var N = function(x) { return x; }; var constructor = constructors[i]; try { - f(constructor, N); + f(constructor); } catch (e) { e.message += " (Testing with " + constructor.name + ".)"; throw e; @@ -77,5 +75,5 @@ function testTypedArrayConversions(byteConversionValues, fn) { } fn(TA, value, exp, initial); }); - }, numericTypedArrayConstructors); + }); } |