Whitespace

This commit is contained in:
Leo Balter 2018-03-09 10:31:38 -05:00
parent 2576b60364
commit dd147e5052
10 changed files with 45 additions and 61 deletions

View File

@ -38,7 +38,7 @@ var obj = {
throw thrownError; throw thrownError;
}, },
value: 1 value: 1
} };
} }
}; };
} }

View File

@ -38,7 +38,7 @@ var obj = {
throw thrownError; throw thrownError;
}, },
done: false done: false
} };
} }
} }
} }

View File

@ -29,7 +29,7 @@ var obj = {
get throw() { get throw() {
throw thrownError; throw thrownError;
} }
} };
} }
}; };
@ -56,4 +56,3 @@ iter.next().then(function(result) {
).catch($DONE); ).catch($DONE);
}).catch($DONE); }).catch($DONE);

View File

@ -57,5 +57,4 @@ iter.next().then(function(result) {
}).then($DONE, $DONE); }).then($DONE, $DONE);
} }
).catch($DONE); ).catch($DONE);
}).catch($DONE); }).catch($DONE);

View File

@ -36,7 +36,6 @@ async function* asyncg() {
var iter = asyncg(); var iter = asyncg();
iter.next().then(function(result) { iter.next().then(function(result) {
iter.throw().then( iter.throw().then(
function (result) { function (result) {
throw new Test262Error("Promise should be rejected, got: " + result.value); throw new Test262Error("Promise should be rejected, got: " + result.value);
@ -52,4 +51,3 @@ iter.next().then(function(result) {
).catch($DONE); ).catch($DONE);
}).catch($DONE); }).catch($DONE);

View File

@ -22,12 +22,6 @@ features: [TypedArray]
var buffer = new ArrayBuffer(1); var buffer = new ArrayBuffer(1);
testWithTypedArrayConstructors(function(TA) { 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() { assert.throws(RangeError, function() {
new TA(buffer); new TA(buffer);
}); });
@ -35,4 +29,4 @@ testWithTypedArrayConstructors(function(TA) {
assert.throws(RangeError, function() { assert.throws(RangeError, function() {
new TA(buffer, 0, undefined); new TA(buffer, 0, undefined);
}); });
}); }, [ Float64Array, Float32Array, Int32Array, Int16Array, Uint32Array, Uint16Array ]);

View File

@ -21,13 +21,7 @@ features: [TypedArray]
var buffer = new ArrayBuffer(8); var buffer = new ArrayBuffer(8);
testWithTypedArrayConstructors(function(TA) { 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() { assert.throws(RangeError, function() {
new TA(buffer, 7); new TA(buffer, 7);
}); });
}); }, [ Float64Array, Float32Array, Int32Array, Int16Array, Uint32Array, Uint16Array ]);