Skip to content

Commit

Permalink
Write out STDOUT/STDERR unless successes reported.
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav committed Feb 4, 2019
1 parent 942cfda commit 1a8070d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_phyx.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ describe('Test PHYX files in repository', function() {
// without any failures, TODOs or any successes in the Clade Ontology
// should be reported as a failure.
it('had at least one success', function() {
assert.isAbove(successes, 0, 'No successes occurred during testing');
assert.isAbove(successes, 0, `No successes occurred during testing:\n===STDOUT===\n${child.stdout}\n===STDERR===\n${child.stderr}\n===`);
});

// On the off chance that all of the above made sense but the exit code didn't,
Expand Down

0 comments on commit 1a8070d

Please sign in to comment.