lib/reporters/console.js
function _failure(errors, test, result) {
  process.stdout.write('.'.red);
  failures.push({ errors: errors, test: test, result: result });
}
function _failure(errors, test, result) {
  process.stdout.write('.'.red);
  failures.push({ errors: errors, test: test, result: result });
}
function _failure ( errors , test , result ) { process . stdout . write ( '.' . red ) ; failures . push ( { errors : errors , test : test , result : result } ) ; }
Failure event handler, displays a red dot and register failure.

@param {Array} check errors
@param {Object} test: test expectation (exitcode, output)
@param {Object} result: command execution result (exitcode, output)
Failure event handler displays a red dot and register failure .