mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 01:57:50 +00:00
adding test case for previous commit
This commit is contained in:
@@ -52,6 +52,7 @@ $(document).ready(function() {
|
|||||||
ok(_.isEqual(NaN, NaN), 'NaN is equal to NaN');
|
ok(_.isEqual(NaN, NaN), 'NaN is equal to NaN');
|
||||||
ok(_.isEqual(new Date(100), new Date(100)), 'identical dates are equal');
|
ok(_.isEqual(new Date(100), new Date(100)), 'identical dates are equal');
|
||||||
ok(_.isEqual((/hello/ig), (/hello/ig)), 'identical regexes 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() {
|
test("objects: isEmpty", function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user