mirror of https://github.com/tc39/test262.git
built-ins/Atomics/*: make all indentation consistent (depth & character) (#1442)
This commit is contained in:
parent
e1f4ced053
commit
dedd68020b
test/built-ins/Atomics
|
@ -27,4 +27,3 @@ function hide(k, x) {
|
|||
return hide(k - 3, x) + x;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -19,14 +19,16 @@ testWithTypedArrayConstructors(function(View) {
|
|||
var view = new View(sab, 32, 20);
|
||||
var control = new View(ab, 0, 2);
|
||||
|
||||
for ( let val of [10,
|
||||
-5,
|
||||
for (let val of [10, -5,
|
||||
12345,
|
||||
123456789,
|
||||
Math.PI,
|
||||
"33",
|
||||
{ valueOf: () => 33 },
|
||||
undefined] )
|
||||
{
|
||||
valueOf: () => 33
|
||||
},
|
||||
undefined
|
||||
])
|
||||
{
|
||||
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");
|
||||
|
|
|
@ -29,4 +29,3 @@ function getReport() {
|
|||
$262.agent.sleep(100);
|
||||
return r;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue