Index: third_party/js/jsunit/2.2/jsUnitCore.js |
=================================================================== |
--- third_party/js/jsunit/2.2/jsUnitCore.js (revision 3513) |
+++ third_party/js/jsunit/2.2/jsUnitCore.js (working copy) |
@@ -433,6 +433,10 @@ |
this.jsUnitMessage = message; |
this.stackTrace = getStackTrace(); |
} |
+JsUnitException.prototype.toString = function () { |
+ return ('[JsUnitException ' + (this.comment || '') |
+ + ' : ' + this.jsUnitMessage + '\n' + this.stackTrace + ']'); |
+}; |
function warn() { |
if (top.tracer != null) |