Skip to content

Commit

Permalink
test runner: when errors are thrown in a test, the message is success…
Browse files Browse the repository at this point in the history
…fully show on all browsers.
  • Loading branch information
flesler committed May 12, 2008
1 parent 99101e0 commit 16f6b36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/data/testrunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 16f6b36

Please sign in to comment.