From 5a858cc0c464a8f99458f7ca2fd26127ae33e11d Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Tue, 18 Oct 2022 13:30:43 +0200 Subject: [PATCH] Add missing includes to toSorted/toReversed this-value-invalid.js tests Otherwise $DETACHBUFFER() is not defined in those files. --- .../TypedArray/prototype/toReversed/this-value-invalid.js | 2 +- .../TypedArray/prototype/toSorted/this-value-invalid.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/built-ins/TypedArray/prototype/toReversed/this-value-invalid.js b/test/built-ins/TypedArray/prototype/toReversed/this-value-invalid.js index 648630a947..7edb1d2599 100644 --- a/test/built-ins/TypedArray/prototype/toReversed/this-value-invalid.js +++ b/test/built-ins/TypedArray/prototype/toReversed/this-value-invalid.js @@ -11,7 +11,7 @@ info: | 1. Let O be the this value. 2. Perform ? ValidateTypedArray(O). ... -includes: [testTypedArray.js] +includes: [detachArrayBuffer.js, testTypedArray.js] features: [TypedArray, change-array-by-copy] ---*/ diff --git a/test/built-ins/TypedArray/prototype/toSorted/this-value-invalid.js b/test/built-ins/TypedArray/prototype/toSorted/this-value-invalid.js index 961c1ff609..d2ebdffdb7 100644 --- a/test/built-ins/TypedArray/prototype/toSorted/this-value-invalid.js +++ b/test/built-ins/TypedArray/prototype/toSorted/this-value-invalid.js @@ -11,7 +11,7 @@ info: | 2. Let O be the this value. 3. Perform ? ValidateTypedArray(O). ... -includes: [testTypedArray.js] +includes: [detachArrayBuffer.js, testTypedArray.js] features: [TypedArray, change-array-by-copy] ---*/