diff --git a/test/built-ins/Atomics/add/bigint/non-shared-int-views-throws.js b/test/built-ins/Atomics/add/bigint/non-shared-int-views-throws.js index bbbb29111f..611d20e924 100644 --- a/test/built-ins/Atomics/add/bigint/non-shared-int-views-throws.js +++ b/test/built-ins/Atomics/add/bigint/non-shared-int-views-throws.js @@ -15,5 +15,5 @@ testWithNonShareableBigIntTypedArrayConstructors(function(TA) { const view = new TA(buffer); assert.throws(TypeError, function() { Atomics.add(view, 0, 1n); - }, `Atomics.add(new ${TA.name}(view), 0, 1n) throws TypeError`); + }, `Atomics.add(new ${TA.name}(buffer), 0, 1n) throws TypeError`); }); diff --git a/test/built-ins/Atomics/add/non-shared-int-views-throws.js b/test/built-ins/Atomics/add/non-shared-int-views-throws.js index 4ddc2e36e5..5106ffe60d 100644 --- a/test/built-ins/Atomics/add/non-shared-int-views-throws.js +++ b/test/built-ins/Atomics/add/non-shared-int-views-throws.js @@ -16,5 +16,5 @@ testWithNonSharableTypedArrayConstructors(function(TA) { assert.throws(TypeError, function() { Atomics.add(view, 0, 1); - }, `Atomics.add(new ${TA.name}(view), 0, 1) throws TypeError`); + }, `Atomics.add(new ${TA.name}(buffer), 0, 1) throws TypeError`); }); diff --git a/test/built-ins/Atomics/and/bigint/non-shared-int-views-throws.js b/test/built-ins/Atomics/and/bigint/non-shared-int-views-throws.js index 7c293c21fb..75624b98de 100644 --- a/test/built-ins/Atomics/and/bigint/non-shared-int-views-throws.js +++ b/test/built-ins/Atomics/and/bigint/non-shared-int-views-throws.js @@ -15,5 +15,5 @@ testWithNonShareableBigIntTypedArrayConstructors(function(TA) { const view = new TA(buffer); assert.throws(TypeError, function() { Atomics.and(view, 0, 1); - }, `Atomics.and(new ${TA.name}(view), 0, 1) throws TypeError`); + }, `Atomics.and(new ${TA.name}(buffer), 0, 1) throws TypeError`); }); diff --git a/test/built-ins/Atomics/and/non-shared-int-views-throws.js b/test/built-ins/Atomics/and/non-shared-int-views-throws.js index 18ac6f5340..e2920ff40c 100644 --- a/test/built-ins/Atomics/and/non-shared-int-views-throws.js +++ b/test/built-ins/Atomics/and/non-shared-int-views-throws.js @@ -16,5 +16,5 @@ testWithNonSharableTypedArrayConstructors(function(TA) { assert.throws(TypeError, function() { Atomics.and(view, 0, 1); - }, `Atomics.and(new ${TA.name}(view), 0, 1) throws TypeError`); + }, `Atomics.and(new ${TA.name}(buffer), 0, 1) throws TypeError`); }); diff --git a/test/built-ins/Atomics/compareExchange/bigint/non-shared-int-views-throws.js b/test/built-ins/Atomics/compareExchange/bigint/non-shared-int-views-throws.js index be401a2204..cf5074694e 100644 --- a/test/built-ins/Atomics/compareExchange/bigint/non-shared-int-views-throws.js +++ b/test/built-ins/Atomics/compareExchange/bigint/non-shared-int-views-throws.js @@ -15,5 +15,5 @@ testWithNonShareableBigIntTypedArrayConstructors(function(TA) { const view = new TA(buffer); assert.throws(TypeError, function() { Atomics.compareExchange(view, 0, 0n, 0n); - }, `Atomics.compareExchange(new ${TA.name}(view), 0, 0n, 0n) throws TypeError`); + }, `Atomics.compareExchange(new ${TA.name}(buffer), 0, 0n, 0n) throws TypeError`); }); diff --git a/test/built-ins/Atomics/compareExchange/non-shared-int-views-throws.js b/test/built-ins/Atomics/compareExchange/non-shared-int-views-throws.js index 58b98dd0b3..dd92c0a922 100644 --- a/test/built-ins/Atomics/compareExchange/non-shared-int-views-throws.js +++ b/test/built-ins/Atomics/compareExchange/non-shared-int-views-throws.js @@ -16,5 +16,5 @@ testWithNonSharableTypedArrayConstructors(function(TA) { assert.throws(TypeError, function() { Atomics.compareExchange(view, 0, 0, 0); - }, `Atomics.compareExchange(new ${TA.name}(view), 0, 0, 0) throws TypeError`); + }, `Atomics.compareExchange(new ${TA.name}(buffer), 0, 0, 0) throws TypeError`); }); diff --git a/test/built-ins/Atomics/exchange/bigint/non-shared-int-views-throws.js b/test/built-ins/Atomics/exchange/bigint/non-shared-int-views-throws.js index 29290e6620..3ef97dd464 100644 --- a/test/built-ins/Atomics/exchange/bigint/non-shared-int-views-throws.js +++ b/test/built-ins/Atomics/exchange/bigint/non-shared-int-views-throws.js @@ -15,5 +15,5 @@ testWithNonShareableBigIntTypedArrayConstructors(function(TA) { const view = new TA(buffer); assert.throws(TypeError, function() { Atomics.exchange(view, 0, 0n); - }, `Atomics.exchange(new ${TA.name}(view), 0, 0n) throws TypeError`); + }, `Atomics.exchange(new ${TA.name}(buffer), 0, 0n) throws TypeError`); }); diff --git a/test/built-ins/Atomics/exchange/non-shared-int-views-throws.js b/test/built-ins/Atomics/exchange/non-shared-int-views-throws.js index 4ddc2e36e5..5106ffe60d 100644 --- a/test/built-ins/Atomics/exchange/non-shared-int-views-throws.js +++ b/test/built-ins/Atomics/exchange/non-shared-int-views-throws.js @@ -16,5 +16,5 @@ testWithNonSharableTypedArrayConstructors(function(TA) { assert.throws(TypeError, function() { Atomics.add(view, 0, 1); - }, `Atomics.add(new ${TA.name}(view), 0, 1) throws TypeError`); + }, `Atomics.add(new ${TA.name}(buffer), 0, 1) throws TypeError`); }); diff --git a/test/built-ins/Atomics/load/bigint/non-shared-int-views-throws.js b/test/built-ins/Atomics/load/bigint/non-shared-int-views-throws.js index f47ceb655d..8ef1639683 100644 --- a/test/built-ins/Atomics/load/bigint/non-shared-int-views-throws.js +++ b/test/built-ins/Atomics/load/bigint/non-shared-int-views-throws.js @@ -15,5 +15,5 @@ testWithNonShareableBigIntTypedArrayConstructors(function(TA) { const view = new TA(buffer); assert.throws(TypeError, function() { Atomics.load(view, 0); - }, `Atomics.load(new ${TA.name}(view), 0) throws TypeError`); + }, `Atomics.load(new ${TA.name}(buffer), 0) throws TypeError`); }); diff --git a/test/built-ins/Atomics/load/non-shared-int-views-throws.js b/test/built-ins/Atomics/load/non-shared-int-views-throws.js index 1bda4bb893..61c0aa6bce 100644 --- a/test/built-ins/Atomics/load/non-shared-int-views-throws.js +++ b/test/built-ins/Atomics/load/non-shared-int-views-throws.js @@ -15,5 +15,5 @@ testWithNonSharableTypedArrayConstructors(function(TA) { const view = new TA(buffer); assert.throws(TypeError, function() { Atomics.load(view, 0); - }, `Atomics.load(new ${TA.name}(view), 0) throws TypeError`); + }, `Atomics.load(new ${TA.name}(buffer), 0) throws TypeError`); }); diff --git a/test/built-ins/Atomics/store/bigint/non-shared-int-views-throws.js b/test/built-ins/Atomics/store/bigint/non-shared-int-views-throws.js index 9b3d195daa..57bdb21246 100644 --- a/test/built-ins/Atomics/store/bigint/non-shared-int-views-throws.js +++ b/test/built-ins/Atomics/store/bigint/non-shared-int-views-throws.js @@ -15,5 +15,5 @@ testWithNonShareableBigIntTypedArrayConstructors(function(TA) { const view = new TA(buffer); assert.throws(TypeError, function() { Atomics.store(view, 0, 1); - }, `Atomics.store(new ${TA.name}(view), 0, 1) throws TypeError`); + }, `Atomics.store(new ${TA.name}(buffer), 0, 1) throws TypeError`); }); diff --git a/test/built-ins/Atomics/store/non-shared-views-throws.js b/test/built-ins/Atomics/store/non-shared-views-throws.js index 17ca6106ed..05973feb06 100644 --- a/test/built-ins/Atomics/store/non-shared-views-throws.js +++ b/test/built-ins/Atomics/store/non-shared-views-throws.js @@ -15,5 +15,5 @@ const views = intArrayConstructors.slice(); testWithNonSharableTypedArrayConstructors(function(TA) { assert.throws(TypeError, function() { Atomics.store(new TA(buffer), 0, 0); - }, `Atomics.store(new ${TA.name}(view), 0, 1) throws TypeError`); + }, `Atomics.store(new ${TA.name}(buffer), 0, 1) throws TypeError`); }, views);