Skip to content

Commit

Permalink
style(reporter.teamcity): make jshint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtajina committed Feb 21, 2013
1 parent da7164c commit 47d399a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions lib/reporters/Teamcity.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ var escTCString = function (message) {

return message.
replace(/\|/g, '||').
replace(/\'/g, '|\'').
replace(/\n/g, '|n').
replace(/\r/g, '|r').
replace(/\u0085/g, '|x').
replace(/\u2028/g, '|l').
replace(/\u2029/g, '|p').
replace(/\[/g, '|[').
replace(/\]/g, '|]');
replace(/\'/g, '|\'').
replace(/\n/g, '|n').
replace(/\r/g, '|r').
replace(/\u0085/g, '|x').
replace(/\u2028/g, '|l').
replace(/\u2029/g, '|p').
replace(/\[/g, '|[').
replace(/\]/g, '|]');
};

var getTestName = function (result) {
return result.slice(1).join(' ');
}
};

var TeamcityReporter = function(formatError, reportSlow) {
BaseReporter.call(this, formatError, reportSlow);
Expand Down

0 comments on commit 47d399a

Please sign in to comment.