Permalink
Browse files

test runner: when errors are thrown in a test, the message is success…

…fully show on all browsers.
  • Loading branch information...
1 parent 99101e0 commit 16f6b3684d259c245c79a459195224a370234b82 @flesler flesler committed May 12, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 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() {

0 comments on commit 16f6b36

Please sign in to comment.