diff --git a/test/test.js b/test/test.js index fda4367b2..b8ab78a21 100644 --- a/test/test.js +++ b/test/test.js @@ -755,10 +755,9 @@ deepEqual(actual, expected); }); - test('should coerce errors to error objects', function() { + test('should coerce errors to error objects', 1, function() { var actual = _.attempt(function() { throw 'x'; }); - - deepEqual(actual, Error('x')); + ok(_.isEqual(actual, Error('x'))); }); test('should work with an error object from another realm', 1, function() {