Fix failing tests.

This commit is contained in:
John-David Dalton
2014-06-11 12:23:42 -07:00
parent 1f07f9d127
commit 6ab04866ec
2 changed files with 8 additions and 5 deletions

View File

@@ -1272,6 +1272,7 @@
_.forOwn(objects, function(object, key) {
test('`_.' + methodName + '` should clone ' + key, 2, function() {
var actual = func(object);
ok(_.isEqual(actual, object));
if (_.isObject(object)) {
@@ -1294,7 +1295,7 @@
error = new Ctor('text'),
actual = func(error);
deepEqual(actual, error);
ok(_.isEqual(actual, error));
notStrictEqual(actual, error);
});
});