Fix test fail in older Firefoxes.

This commit is contained in:
John-David Dalton
2014-07-05 13:44:07 -05:00
parent 9c3f297e97
commit 08a9ef1072

View File

@@ -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() {