Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
test: fix irregular whitespace issue
  • Loading branch information
silverwind committed Jan 25, 2016
commit f94f0d50c80b10a581b5b9a8ba651c0145196ea0
16 changes: 8 additions & 8 deletions test/parallel/test-promises-unhandled-rejections.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ asyncTest('Catching the Promise.all() of a collection that includes a' +
'rejected promise prevents unhandledRejection', function(done) {
var e = new Error();
onUnhandledFail(done);
Promise.all([Promise.reject(e)]).then(common.fail, function() {});
Promise.all([Promise.reject(e)]).then(common.fail, function() {});
});

asyncTest(
Expand All @@ -401,7 +401,7 @@ asyncTest(
});
p = Promise.all([p]);
process.nextTick(function() {
p.then(common.fail, function() {});
p.then(common.fail, function() {});
});
}
);
Expand Down Expand Up @@ -455,7 +455,7 @@ asyncTest('Waiting for some combination of process.nextTick + promise' +
Promise.resolve().then(function() {
process.nextTick(function() {
Promise.resolve().then(function() {
a.catch(function() {});
a.catch(function() {});
});
});
});
Expand All @@ -474,7 +474,7 @@ asyncTest('Waiting for some combination of process.nextTick + promise' +
Promise.resolve().then(function() {
process.nextTick(function() {
Promise.resolve().then(function() {
a.catch(function() {});
a.catch(function() {});
});
});
});
Expand All @@ -494,7 +494,7 @@ asyncTest('Waiting for some combination of process.nextTick + promise ' +
Promise.resolve().then(function() {
process.nextTick(function() {
Promise.resolve().then(function() {
a.catch(function() {});
a.catch(function() {});
});
});
});
Expand All @@ -514,7 +514,7 @@ asyncTest('Waiting for some combination of promise microtasks + ' +
process.nextTick(function() {
Promise.resolve().then(function() {
process.nextTick(function() {
a.catch(function() {});
a.catch(function() {});
});
});
});
Expand All @@ -535,7 +535,7 @@ asyncTest(
process.nextTick(function() {
Promise.resolve().then(function() {
process.nextTick(function() {
a.catch(function() {});
a.catch(function() {});
});
});
});
Expand All @@ -556,7 +556,7 @@ asyncTest('Waiting for some combination of promise microtasks +' +
process.nextTick(function() {
Promise.resolve().then(function() {
process.nextTick(function() {
a.catch(function() {});
a.catch(function() {});
});
});
});
Expand Down