Closed GoogleCodeExporter closed 8 years ago
Original comment by John.Jian.Fang@gmail.com
on 13 Aug 2010 at 5:18
Fixed by wrap the assertion error message in a new Error as follows:
TelluriumCommandExecutor.prototype.assertTrue = function(variable){
try{
assertTrue(variable);
}catch(error){
if(error.isJsUnitFailure){
var message = "assertTrue failed: " + error.jsUnitMessage + ", " + (error.comment != null ? error.comment: "");
throw new Error(message);
}
throw error;
}
};
Original comment by John.Jian.Fang@gmail.com
on 13 Aug 2010 at 5:59
Original issue reported on code.google.com by
John.Jian.Fang@gmail.com
on 13 Aug 2010 at 5:17