diff --git a/test/objects.js b/test/objects.js index 18c4b3c2b..8ba67858e 100644 --- a/test/objects.js +++ b/test/objects.js @@ -52,6 +52,7 @@ $(document).ready(function() { ok(_.isEqual(NaN, NaN), 'NaN is equal to NaN'); ok(_.isEqual(new Date(100), new Date(100)), 'identical dates are equal'); ok(_.isEqual((/hello/ig), (/hello/ig)), 'identical regexes are equal'); + ok(!_.isEqual(null, [1]), 'a falsy is never equal to a truthy'); }); test("objects: isEmpty", function() {