diff options
Diffstat (limited to 'test/built-ins/TypedArrays/internals/DefineOwnProperty/key-is-not-integer.js')
-rw-r--r-- | test/built-ins/TypedArrays/internals/DefineOwnProperty/key-is-not-integer.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/TypedArrays/internals/DefineOwnProperty/key-is-not-integer.js b/test/built-ins/TypedArrays/internals/DefineOwnProperty/key-is-not-integer.js index 4232ab638..b30fc17ec 100644 --- a/test/built-ins/TypedArrays/internals/DefineOwnProperty/key-is-not-integer.js +++ b/test/built-ins/TypedArrays/internals/DefineOwnProperty/key-is-not-integer.js @@ -16,7 +16,7 @@ includes: [testTypedArray.js] features: [Reflect, TypedArray] ---*/ -testWithTypedArrayConstructors(function(TA, N) { +testWithTypedArrayConstructors(function(TA) { var sample = new TA(2); assert.sameValue( @@ -29,7 +29,7 @@ testWithTypedArrayConstructors(function(TA, N) { false, "0.1" ); - assert.sameValue(sample[0], N(0), "'0.1' - does not change the value for [0]"); + assert.sameValue(sample[0], 0, "'0.1' - does not change the value for [0]"); assert.sameValue( sample["0.1"], undefined, @@ -47,7 +47,7 @@ testWithTypedArrayConstructors(function(TA, N) { "0.000001" ); assert.sameValue( - sample[0], N(0), + sample[0], 0, "'0.000001' - does not change the value for [0]" ); assert.sameValue( @@ -66,7 +66,7 @@ testWithTypedArrayConstructors(function(TA, N) { false, "1.1" ); - assert.sameValue(sample[1], N(0), "'1.1' - does not change the value for [1]"); + assert.sameValue(sample[1], 0, "'1.1' - does not change the value for [1]"); assert.sameValue( sample["1.1"], undefined, @@ -84,11 +84,11 @@ testWithTypedArrayConstructors(function(TA, N) { "Infinity" ); assert.sameValue( - sample[0], N(0), + sample[0], 0, "'Infinity' - does not change the value for [0]" ); assert.sameValue( - sample[1], N(0), + sample[1], 0, "'Infinity' - does not change the value for [1]" ); assert.sameValue( @@ -108,11 +108,11 @@ testWithTypedArrayConstructors(function(TA, N) { "-Infinity" ); assert.sameValue( - sample[0], N(0), + sample[0], 0, "'-Infinity' - does not change the value for [0]" ); assert.sameValue( - sample[1], N(0), + sample[1], 0, "'-Infinity' - does not change the value for [1]" ); assert.sameValue( |