Skip to content

Commit 62fb941

Browse files
silverwindrvagg
authored andcommitted
test: fix irregular whitespace issue
PR-URL: #4864 Reviewed-By: targos - Michaël Zasso <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Roman Klauke <[email protected]>
1 parent 34df6a5 commit 62fb941

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

test/parallel/test-promises-unhandled-rejections.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ asyncTest('Catching the Promise.all() of a collection that includes a' +
385385
'rejected promise prevents unhandledRejection', function(done) {
386386
var e = new Error();
387387
onUnhandledFail(done);
388-
Promise.all([Promise.reject(e)]).then(common.fail, function() {});
388+
Promise.all([Promise.reject(e)]).then(common.fail, function() {});
389389
});
390390

391391
asyncTest(
@@ -401,7 +401,7 @@ asyncTest(
401401
});
402402
p = Promise.all([p]);
403403
process.nextTick(function() {
404-
p.then(common.fail, function() {});
404+
p.then(common.fail, function() {});
405405
});
406406
}
407407
);
@@ -455,7 +455,7 @@ asyncTest('Waiting for some combination of process.nextTick + promise' +
455455
Promise.resolve().then(function() {
456456
process.nextTick(function() {
457457
Promise.resolve().then(function() {
458-
a.catch(function() {});
458+
a.catch(function() {});
459459
});
460460
});
461461
});
@@ -474,7 +474,7 @@ asyncTest('Waiting for some combination of process.nextTick + promise' +
474474
Promise.resolve().then(function() {
475475
process.nextTick(function() {
476476
Promise.resolve().then(function() {
477-
a.catch(function() {});
477+
a.catch(function() {});
478478
});
479479
});
480480
});
@@ -494,7 +494,7 @@ asyncTest('Waiting for some combination of process.nextTick + promise ' +
494494
Promise.resolve().then(function() {
495495
process.nextTick(function() {
496496
Promise.resolve().then(function() {
497-
a.catch(function() {});
497+
a.catch(function() {});
498498
});
499499
});
500500
});
@@ -514,7 +514,7 @@ asyncTest('Waiting for some combination of promise microtasks + ' +
514514
process.nextTick(function() {
515515
Promise.resolve().then(function() {
516516
process.nextTick(function() {
517-
a.catch(function() {});
517+
a.catch(function() {});
518518
});
519519
});
520520
});
@@ -535,7 +535,7 @@ asyncTest(
535535
process.nextTick(function() {
536536
Promise.resolve().then(function() {
537537
process.nextTick(function() {
538-
a.catch(function() {});
538+
a.catch(function() {});
539539
});
540540
});
541541
});
@@ -556,7 +556,7 @@ asyncTest('Waiting for some combination of promise microtasks +' +
556556
process.nextTick(function() {
557557
Promise.resolve().then(function() {
558558
process.nextTick(function() {
559-
a.catch(function() {});
559+
a.catch(function() {});
560560
});
561561
});
562562
});

0 commit comments

Comments
 (0)