mirror of
https://github.com/tc39/test262.git
synced 2025-07-05 13:14:38 +02:00
Whitespace
This commit is contained in:
parent
2576b60364
commit
dd147e5052
@ -38,7 +38,7 @@ var obj = {
|
||||
throw thrownError;
|
||||
},
|
||||
value: 1
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ var obj = {
|
||||
throw thrownError;
|
||||
},
|
||||
done: false
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ var obj = {
|
||||
get throw() {
|
||||
throw thrownError;
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
@ -56,4 +56,3 @@ iter.next().then(function(result) {
|
||||
).catch($DONE);
|
||||
|
||||
}).catch($DONE);
|
||||
|
||||
|
@ -57,5 +57,4 @@ iter.next().then(function(result) {
|
||||
}).then($DONE, $DONE);
|
||||
}
|
||||
).catch($DONE);
|
||||
|
||||
}).catch($DONE);
|
||||
|
@ -36,7 +36,6 @@ async function* asyncg() {
|
||||
var iter = asyncg();
|
||||
|
||||
iter.next().then(function(result) {
|
||||
|
||||
iter.throw().then(
|
||||
function (result) {
|
||||
throw new Test262Error("Promise should be rejected, got: " + result.value);
|
||||
@ -52,4 +51,3 @@ iter.next().then(function(result) {
|
||||
).catch($DONE);
|
||||
|
||||
}).catch($DONE);
|
||||
|
||||
|
@ -22,12 +22,6 @@ features: [TypedArray]
|
||||
var buffer = new ArrayBuffer(1);
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
||||
// Exclude 8 bit buffers from this tests, as their elementSize = 1
|
||||
if ( TA.name.indexOf("8") > -1 ) {
|
||||
return;
|
||||
}
|
||||
|
||||
assert.throws(RangeError, function() {
|
||||
new TA(buffer);
|
||||
});
|
||||
@ -35,4 +29,4 @@ testWithTypedArrayConstructors(function(TA) {
|
||||
assert.throws(RangeError, function() {
|
||||
new TA(buffer, 0, undefined);
|
||||
});
|
||||
});
|
||||
}, [ Float64Array, Float32Array, Int32Array, Int16Array, Uint32Array, Uint16Array ]);
|
||||
|
@ -21,13 +21,7 @@ features: [TypedArray]
|
||||
var buffer = new ArrayBuffer(8);
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
||||
// Exclude 8 bit buffers from this tests, as their elementSize = 1
|
||||
if ( TA.name.indexOf("8") > -1 ) {
|
||||
return;
|
||||
}
|
||||
|
||||
assert.throws(RangeError, function() {
|
||||
new TA(buffer, 7);
|
||||
});
|
||||
});
|
||||
}, [ Float64Array, Float32Array, Int32Array, Int16Array, Uint32Array, Uint16Array ]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user