Skip to content

Commit

Permalink
if you say so...
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-brade committed Jun 22, 2020
1 parent f75a2a4 commit 30ea7a0
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions lib/reporters/base.js
Expand Up @@ -191,15 +191,9 @@ var generateDiff = (exports.generateDiff = function(actual, expected) {
} catch (err) {
var msg =
'\n ' +
color(
'diff added' + (exports.inlineDiffs ? ' inline' : ''),
'+ expected'
) +
color('diff added', '+ expected') +
' ' +
color(
'diff removed' + (exports.inlineDiffs ? ' inline' : ''),
'- actual: failed to generate Mocha diff'
) +
color('diff removed', '- actual: failed to generate Mocha diff') +
'\n';
return msg;
}
Expand Down

0 comments on commit 30ea7a0

Please sign in to comment.