mirror of https://github.com/tc39/test262.git
Atomics: fix mispelled harness function name
This commit is contained in:
parent
4adc41eccf
commit
7e603ae236
|
@ -9,7 +9,7 @@ defines:
|
|||
- intArrayConstructors
|
||||
- TypedArray
|
||||
- testWithTypedArrayConstructors
|
||||
- testWithNonSharableTypedArrayConstructors
|
||||
- testWithNonShareableTypedArrayConstructors
|
||||
- testTypedArrayConversions
|
||||
---*/
|
||||
|
||||
|
@ -68,7 +68,7 @@ function testWithTypedArrayConstructors(f, selected) {
|
|||
* @param {typedArrayConstructorCallback} f - the function to call for each typed array constructor.
|
||||
* @param {Array} selected - An optional Array with filtered typed arrays
|
||||
*/
|
||||
function testWithNonSharableTypedArrayConstructors(f) {
|
||||
function testWithNonShareableTypedArrayConstructors(f) {
|
||||
testWithTypedArrayConstructors(f, [
|
||||
Float64Array,
|
||||
Float32Array,
|
||||
|
|
|
@ -11,7 +11,7 @@ features: [ArrayBuffer, Atomics, TypedArray]
|
|||
|
||||
const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4);
|
||||
|
||||
testWithNonSharableTypedArrayConstructors(function(TA) {
|
||||
testWithNonShareableTypedArrayConstructors(function(TA) {
|
||||
const view = new TA(buffer);
|
||||
|
||||
assert.throws(TypeError, function() {
|
||||
|
|
|
@ -11,7 +11,7 @@ features: [ArrayBuffer, Atomics, TypedArray]
|
|||
|
||||
const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4);
|
||||
|
||||
testWithNonSharableTypedArrayConstructors(function(TA) {
|
||||
testWithNonShareableTypedArrayConstructors(function(TA) {
|
||||
const view = new TA(buffer);
|
||||
|
||||
assert.throws(TypeError, function() {
|
||||
|
|
|
@ -11,7 +11,7 @@ features: [ArrayBuffer, Atomics, TypedArray]
|
|||
|
||||
const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4);
|
||||
|
||||
testWithNonSharableTypedArrayConstructors(function(TA) {
|
||||
testWithNonShareableTypedArrayConstructors(function(TA) {
|
||||
const view = new TA(buffer);
|
||||
|
||||
assert.throws(TypeError, function() {
|
||||
|
|
|
@ -11,7 +11,7 @@ features: [ArrayBuffer, Atomics, TypedArray]
|
|||
|
||||
const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4);
|
||||
|
||||
testWithNonSharableTypedArrayConstructors(function(TA) {
|
||||
testWithNonShareableTypedArrayConstructors(function(TA) {
|
||||
const view = new TA(buffer);
|
||||
|
||||
assert.throws(TypeError, function() {
|
||||
|
|
|
@ -11,7 +11,7 @@ features: [ArrayBuffer, Atomics, TypedArray]
|
|||
|
||||
const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4);
|
||||
|
||||
testWithNonSharableTypedArrayConstructors(function(TA) {
|
||||
testWithNonShareableTypedArrayConstructors(function(TA) {
|
||||
const view = new TA(buffer);
|
||||
assert.throws(TypeError, function() {
|
||||
Atomics.load(view, 0);
|
||||
|
|
|
@ -11,7 +11,7 @@ features: [ArrayBuffer, Atomics, TypedArray]
|
|||
|
||||
const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4);
|
||||
|
||||
testWithNonSharableTypedArrayConstructors(function(TA) {
|
||||
testWithNonShareableTypedArrayConstructors(function(TA) {
|
||||
const view = new TA(buffer);
|
||||
|
||||
assert.throws(TypeError, function() {
|
||||
|
|
|
@ -11,7 +11,7 @@ features: [ArrayBuffer, Atomics, TypedArray]
|
|||
|
||||
const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4);
|
||||
|
||||
testWithNonSharableTypedArrayConstructors(function(TA) {
|
||||
testWithNonShareableTypedArrayConstructors(function(TA) {
|
||||
const view = new TA(buffer);
|
||||
|
||||
assert.throws(TypeError, function() {
|
||||
|
|
|
@ -11,7 +11,7 @@ features: [ArrayBuffer, Atomics, TypedArray]
|
|||
|
||||
const buffer = new ArrayBuffer(16);
|
||||
|
||||
testWithNonSharableTypedArrayConstructors(function(TA) {
|
||||
testWithNonShareableTypedArrayConstructors(function(TA) {
|
||||
const view = new TA(buffer);
|
||||
|
||||
assert.throws(TypeError, function() {
|
||||
|
|
|
@ -11,7 +11,7 @@ features: [ArrayBuffer, Atomics, TypedArray]
|
|||
|
||||
const buffer = new ArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 4);
|
||||
|
||||
testWithNonSharableTypedArrayConstructors(function(TA) {
|
||||
testWithNonShareableTypedArrayConstructors(function(TA) {
|
||||
const view = new TA(buffer);
|
||||
|
||||
assert.throws(TypeError, function() {
|
||||
|
|
Loading…
Reference in New Issue