test runner: when errors are thrown in a test, the message is successfully show on all browsers.

This commit is contained in:
Ariel Flesler 2008-05-12 22:31:27 +00:00
parent 99101e02f9
commit 16f6b3684d

View file

@ -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() {