From 08a9ef1072d29e3562801bff7811bae51e3630fc Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sat, 5 Jul 2014 13:44:07 -0500 Subject: [PATCH] Fix test fail in older Firefoxes. --- test/test.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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() {