mirror of
https://github.com/tc39/test262.git
synced 2025-07-20 12:34:41 +02:00
built-ins/Atomics/*: make all indentation consistent (depth & character) (#1442)
This commit is contained in:
parent
e1f4ced053
commit
dedd68020b
@ -27,4 +27,3 @@ function hide(k, x) {
|
|||||||
return hide(k - 3, x) + x;
|
return hide(k - 3, x) + x;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,14 +19,16 @@ testWithTypedArrayConstructors(function(View) {
|
|||||||
var view = new View(sab, 32, 20);
|
var view = new View(sab, 32, 20);
|
||||||
var control = new View(ab, 0, 2);
|
var control = new View(ab, 0, 2);
|
||||||
|
|
||||||
for ( let val of [10,
|
for (let val of [10, -5,
|
||||||
-5,
|
|
||||||
12345,
|
12345,
|
||||||
123456789,
|
123456789,
|
||||||
Math.PI,
|
Math.PI,
|
||||||
"33",
|
"33",
|
||||||
{ valueOf: () => 33 },
|
{
|
||||||
undefined] )
|
valueOf: () => 33
|
||||||
|
},
|
||||||
|
undefined
|
||||||
|
])
|
||||||
{
|
{
|
||||||
assert.sameValue(Atomics.store(view, 3, val), ToInteger(val),
|
assert.sameValue(Atomics.store(view, 3, val), ToInteger(val),
|
||||||
"Atomics.store returns its third argument (" + val + ") converted to Integer, not the input value nor the value that was stored");
|
"Atomics.store returns its third argument (" + val + ") converted to Integer, not the input value nor the value that was stored");
|
||||||
|
@ -29,4 +29,3 @@ function getReport() {
|
|||||||
$262.agent.sleep(100);
|
$262.agent.sleep(100);
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user