give failing tests a name
This commit is contained in:
parent
e62eb9339b
commit
0c487fc078
@ -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{
|
||||
|
Loading…
Reference in New Issue
Block a user