☕️ Classic, reliable, trusted test framework for Node.js and the browser
build
TJ Holowaychukb12c2b581a20
diff --git a/mocha.js b/mocha.jsindex 73913e1c..36e0eff9 100644--- a/mocha.js+++ b/mocha.js@@ -1351,6 +1351,7 @@ function pad(str, len) {function errorDiff(err, type) {return diff['diff' + type](err.actual, err.expected).map(function(str){+ if (str.value == '\n') str.value = '<newline>\n';if (str.added) return colorLines('diff added', str.value);if (str.removed) return colorLines('diff removed', str.value);return str.value;