From: Ariel Flesler Date: Mon, 12 May 2008 22:31:27 +0000 (+0000) Subject: test runner: when errors are thrown in a test, the message is successfully show on... X-Git-Tag: 1.2.4b~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=16f6b3684d259c245c79a459195224a370234b82;p=jquery.git test runner: when errors are thrown in a test, the message is successfully show on all browsers. --- diff --git a/test/data/testrunner.js b/test/data/testrunner.js index 0113ae5c8..d4fdcf50f 100644 --- a/test/data/testrunner.js +++ b/test/data/testrunner.js @@ -110,7 +110,7 @@ function test(name, callback, nowait) { console.error(e); console.warn(callback.toString()); } - _config.Test.push( [ false, "Died on test #" + (_config.Test.length+1) + ": " + e ] ); + _config.Test.push( [ false, "Died on test #" + (_config.Test.length+1) + ": " + e.message ] ); } }); synchronize(function() {