From 36d2d2d348d83e9d6554af59a672fbcd9413914b Mon Sep 17 00:00:00 2001 From: Yusuke Suzuki Date: Thu, 12 Nov 2020 00:03:15 -0800 Subject: [PATCH] Fix test/built-ins/TypedArrayConstructors/internals/GetOwnProperty/index-prop-desc.js's value Since the 0's value is 43, 43 should be populated in a descriptor. --- .../internals/GetOwnProperty/index-prop-desc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/built-ins/TypedArrayConstructors/internals/GetOwnProperty/index-prop-desc.js b/test/built-ins/TypedArrayConstructors/internals/GetOwnProperty/index-prop-desc.js index 15051937b0..222c3ce201 100644 --- a/test/built-ins/TypedArrayConstructors/internals/GetOwnProperty/index-prop-desc.js +++ b/test/built-ins/TypedArrayConstructors/internals/GetOwnProperty/index-prop-desc.js @@ -1,4 +1,5 @@ // Copyright (C) 2016 the V8 project authors. All rights reserved. +// Copyright (C) 2020 Apple Inc. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-integer-indexed-exotic-objects-getownproperty-p @@ -30,7 +31,7 @@ testWithTypedArrayConstructors(function(TA) { assert.sameValue(descriptor0.enumerable, true); assert.sameValue(descriptor0.writable, true); - assert.sameValue(descriptor1.value, 42); + assert.sameValue(descriptor1.value, 43); assert.sameValue(descriptor1.configurable, true); assert.sameValue(descriptor1.enumerable, true); assert.sameValue(descriptor1.writable, true);