Skip to content

Commit

Permalink
fix(reporters): format fix for console log
Browse files Browse the repository at this point in the history
fix to issue caused when colors was disabled. change to base reporter
string formats for single and multi browser logs, so they have the same
placeholders as in base_color.js.

tested with chrome, firefox and phantomjs

Closes #934
  • Loading branch information
josh-bradley committed Apr 6, 2014
1 parent e34465b commit d2d1377
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/reporters/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ var BaseReporter = function(formatError, reportSlow, adapter) {

this.USE_COLORS = false;

this.LOG_SINGLE_BROWSER = 'LOG: %s\n';
this.LOG_MULTI_BROWSER = '%s LOG: %s\n';
this.LOG_SINGLE_BROWSER = '%s: %s\n';
this.LOG_MULTI_BROWSER = '%s %s: %s\n';

this.SPEC_FAILURE = '%s %s FAILED' + '\n';
this.SPEC_SLOW = '%s SLOW %s: %s\n';
Expand Down

0 comments on commit d2d1377

Please sign in to comment.