diff options
Diffstat (limited to 'test/built-ins/Atomics/or/bad-range.js')
-rw-r--r-- | test/built-ins/Atomics/or/bad-range.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/built-ins/Atomics/or/bad-range.js b/test/built-ins/Atomics/or/bad-range.js index a9fab884a..5c3ff9b1b 100644 --- a/test/built-ins/Atomics/or/bad-range.js +++ b/test/built-ins/Atomics/or/bad-range.js @@ -18,9 +18,9 @@ if (typeof BigInt !== "undefined") { } testWithTypedArrayConstructors(function(View) { - let view = new View(sab); - testWithAtomicsOutOfBoundsIndices(function(IdxGen) { - let Idx = IdxGen(view); - assert.throws(RangeError, () => Atomics.or(view, Idx, 10)); - }); + let view = new View(sab); + testWithAtomicsOutOfBoundsIndices(function(IdxGen) { + let Idx = IdxGen(view); + assert.throws(RangeError, () => Atomics.or(view, Idx, 10)); + }); }, views); |