lib/reporters/base.js
function colorLines(name, str) {
  return str
    .split('\n')
    .map(function(str) {
      return color(name, str);
    })
    .join('\n');
}
function colorLines(name, str) {
  return str
    .split('\n')
    .map(function(str) {
      return color(name, str);
    })
    .join('\n');
}
function colorLines ( name , str ) { return str . split ( '\n' ) . map ( function ( str ) { return color ( name , str ) ; } ) . join ( '\n' ) ; }
Colors lines for `str`, using the color `name`.

@private
@param {string} name
@param {string} str
@return {string}
Colors lines for str using the color name .