give failing tests a name

This commit is contained in:
brianc 2012-12-10 22:26:23 -06:00
parent e62eb9339b
commit 0c487fc078

View File

@ -142,7 +142,8 @@ assert.isNull = function(item, message) {
test = function(name, action) {
test.testCount ++;
var result = action();
test[name] = action;
var result = test[name]();
if(result === false) {
process.stdout.write('?');
}else{