aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAriel Flesler <aflesler@gmail.com>2008-05-12 22:31:27 +0000
committerAriel Flesler <aflesler@gmail.com>2008-05-12 22:31:27 +0000
commit16f6b3684d259c245c79a459195224a370234b82 (patch)
tree4647e6a6395bd63339efda424461bc5ce36b22b9
parent99101e02f957087410cc0b5837ef09e3dfa12466 (diff)
downloadjquery-16f6b3684d259c245c79a459195224a370234b82.tar.gz
jquery-16f6b3684d259c245c79a459195224a370234b82.zip
test runner: when errors are thrown in a test, the message is successfully show on all browsers.
-rw-r--r--test/data/testrunner.js2
1 files changed, 1 insertions, 1 deletions
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() {