Skip to content

Commit

Permalink
include subject in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed Jun 18, 2010
1 parent cf3f4e2 commit df248d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vows/console.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ this.inspect = function inspect(val) {
};

this.error = function (obj) {
return '✗ ' + $('Errored ').red + '» '
return '✗ ' + $('Errored ').red + '» ' + $(obj.suite.subject).bold + ': '
+ $('' + $(obj.context).italic + ' ∙ ') + $(obj.error).red;
};

0 comments on commit df248d4

Please sign in to comment.