★ wanayoo — archive 1999 https://github.com/nodejs/node/commit/e7d41c0312Nouvelle recherche | Portail wanayoo
Skip to content
Permalink
Browse files
test: modify order of parameters for assertion
PR-URL: #24430
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
  • Loading branch information
msahacode authored and codebytere committed Jan 29, 2019
1 parent 5516fbf commit e7d41c0312918c592831e14d11e4487afcfb79a7
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/parallel/test-promises-unhandled-rejections.js
@@ -634,8 +634,8 @@ asyncTest(
const e = new Error('error');
const domainError = new Error('domain error');
onUnhandledSucceed(done, function(reason, promise) {
assert.strictEqual(e, reason);
assert.strictEqual(domainError, domainReceivedError);
assert.strictEqual(reason, e);
assert.strictEqual(domainReceivedError, domainError);
});
Promise.reject(e);
process.nextTick(function() {

0 comments on commit e7d41c0

Please sign in to comment.