diff options
Diffstat (limited to 'test/built-ins/TypedArrays/internals/Set/BigInt/key-is-out-of-bounds.js')
-rw-r--r-- | test/built-ins/TypedArrays/internals/Set/BigInt/key-is-out-of-bounds.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/built-ins/TypedArrays/internals/Set/BigInt/key-is-out-of-bounds.js b/test/built-ins/TypedArrays/internals/Set/BigInt/key-is-out-of-bounds.js index a9a4d8b0a..4de451890 100644 --- a/test/built-ins/TypedArrays/internals/Set/BigInt/key-is-out-of-bounds.js +++ b/test/built-ins/TypedArrays/internals/Set/BigInt/key-is-out-of-bounds.js @@ -27,9 +27,9 @@ features: [BigInt, Reflect, TypedArray] testWithBigIntTypedArrayConstructors(function(TA) { var sample = new TA([42n]); - assert.sameValue(Reflect.set(sample, "-1", 1), false, "-1"); - assert.sameValue(Reflect.set(sample, "1", 1), false, "1"); - assert.sameValue(Reflect.set(sample, "2", 1), false, "2"); + assert.sameValue(Reflect.set(sample, "-1", 1n), false, "-1"); + assert.sameValue(Reflect.set(sample, "1", 1n), false, "1"); + assert.sameValue(Reflect.set(sample, "2", 1n), false, "2"); assert.sameValue(sample.hasOwnProperty("-1"), false, "has no property [-1]"); assert.sameValue(sample.hasOwnProperty("1"), false, "has no property [1]"); |