From 16f6b3684d259c245c79a459195224a370234b82 Mon Sep 17 00:00:00 2001 From: Ariel Flesler Date: Mon, 12 May 2008 22:31:27 +0000 Subject: [PATCH] test runner: when errors are thrown in a test, the message is successfully show on all browsers. --- test/data/testrunner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.39.5