From 2ba87d6b44f6c302bbb87635a2c5164337d0fcad Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Wed, 9 Dec 2009 11:20:09 -0500 Subject: [PATCH] adding test case for previous commit --- test/objects.js | 1 + 1 file changed, 1 insertion(+) 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() {