Skip to content

Commit

Permalink
Merge pull request #220 from michaelhogg/bug-fix-log-summary
Browse files Browse the repository at this point in the history
Fix bug in logSummary()
  • Loading branch information
vladikoff committed Aug 4, 2015
2 parents 69b0b9e + b1d1305 commit 36760b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/jasmine.js
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ module.exports = function(grunt) {
function logSummary(tests) {
grunt.log.writeln('Summary (' + tests.length + ' tests failed)');
_.forEach(tests, function(test) {
grunt.log.writeln(chalk.red(symbols.options.display.error) + ' ' + test.suite + ' ' + test.name);
grunt.log.writeln(chalk.red(symbols[options.display].error) + ' ' + test.suite + ' ' + test.name);
_.forEach(test.errors, function(error) {
grunt.log.writeln(indent(2) + chalk.red(error.message));
logStack(error.stack, 2);
Expand Down

0 comments on commit 36760b0

Please sign in to comment.