Skip to content

Commit

Permalink
Improve error capture checking stderr/stdout (hyperledger-archives#3464)
Browse files Browse the repository at this point in the history
Signed-off-by: Mark S. Lewis <[email protected]>
  • Loading branch information
bestbeforetoday authored and nklincoln committed Feb 23, 2018
1 parent a906783 commit 93a02ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/composer-tests-integration/lib/composer.js
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ class Composer {
if(this.lastResp[type].match(regex)) {
resolve();
} else {
reject('regex match on ' + type + ' failed');
reject(`Regex match on ${type} failed.\nExpected: ${regex}\nActual: ${this.lastResp[type]}`);
}
}
});
Expand Down

0 comments on commit 93a02ab

Please sign in to comment.