From 258fc518a6c75526dfc52c7bb3ccda50b5fe0147 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sat, 12 May 2012 01:11:54 -0400 Subject: [PATCH] Add _.isEmpty JScript [[DontEnum]] bug test. Former-commit-id: 3815abeb1d802bd6fc2aada64f7a105aa77a6467 --- test/test.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/test.js b/test/test.js index f879e5867..e6fd38965 100644 --- a/test/test.js +++ b/test/test.js @@ -211,6 +211,16 @@ /*--------------------------------------------------------------------------*/ + QUnit.module('lodash.isEmpty'); + + (function() { + test('fixes the JScript [[DontEnum]] bug (test in IE < 9)', function() { + equal(_.isEmpty(shadowed), false); + }); + }()); + + /*--------------------------------------------------------------------------*/ + QUnit.module('lodash.isEqual'); (function() {