mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 11:27:50 +00:00
Fix test fail in older Firefoxes.
This commit is contained in:
@@ -755,10 +755,9 @@
|
|||||||
deepEqual(actual, expected);
|
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'; });
|
var actual = _.attempt(function() { throw 'x'; });
|
||||||
|
ok(_.isEqual(actual, Error('x')));
|
||||||
deepEqual(actual, Error('x'));
|
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should work with an error object from another realm', 1, function() {
|
test('should work with an error object from another realm', 1, function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user