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;
},
value: 1
}
};
}
};
}

View File

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

View File

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

View File

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

View File

@ -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);

View File

@ -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 ]);

View File

@ -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 ]);