diff options
Diffstat (limited to 'test/built-ins/Atomics/and/shared-nonint-views.js')
-rw-r--r-- | test/built-ins/Atomics/and/shared-nonint-views.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/Atomics/and/shared-nonint-views.js b/test/built-ins/Atomics/and/shared-nonint-views.js index 9fd8b9ab8..a7538d011 100644 --- a/test/built-ins/Atomics/and/shared-nonint-views.js +++ b/test/built-ins/Atomics/and/shared-nonint-views.js @@ -14,7 +14,7 @@ var sab = new SharedArrayBuffer(1024); var other_views = [Uint8ClampedArray, Float32Array, Float64Array]; testWithTypedArrayConstructors(function(View) { - var view = new View(sab); + var view = new View(sab); - assert.throws(TypeError, (() => Atomics.and(view, 0, 0))); + assert.throws(TypeError, (() => Atomics.and(view, 0, 0))); }, other_views); |