test failures show more

This commit is contained in:
brianc 2010-10-23 12:30:55 -05:00
parent 85c93d2af5
commit f0d225aa64

View File

@ -45,7 +45,7 @@ test = function(name, action) {
process.stdout.write('.');
}
}catch(e) {
console.log('E');
process.stdout.write('E');
test.errors.push(e);
}
};
@ -61,6 +61,9 @@ process.on('exit', function() {
test.ignored.forEach(function(name) {
console.log("Ignored: " + name);
});
test.errors.forEach(function(error) {
throw error;
});
});
MemoryStream = function() {