mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 23:57:49 +00:00
Fix test fail in older Firefoxes.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user