From d539c8d8a3b7e8fa115e9e9965ea01739c31a0a9 Mon Sep 17 00:00:00 2001 From: lucasfcosta Date: Sat, 10 Sep 2016 13:29:16 -0300 Subject: [PATCH] Enabling showDiff for assert's equal and notEqual methods. Closes #790 --- lib/chai/interface/assert.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/chai/interface/assert.js b/lib/chai/interface/assert.js index bb5171e..9df24cb 100644 --- a/lib/chai/interface/assert.js +++ b/lib/chai/interface/assert.js @@ -129,6 +129,7 @@ module.exports = function (chai, util) { , 'expected #{this} to not equal #{act}' , exp , act + , true ); }; @@ -156,6 +157,7 @@ module.exports = function (chai, util) { , 'expected #{this} to equal #{act}' , exp , act + , true ); };