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.
This commit is contained in:
Yusuke Suzuki 2020-11-12 00:03:15 -08:00 committed by Rick Waldron
parent 1c33fdb0ca
commit 36d2d2d348
1 changed files with 2 additions and 1 deletions

View File

@ -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);