fixed asserter for success

This commit is contained in:
Brian Carlson 2011-01-21 16:53:17 -06:00
parent d81547d7c0
commit 1aa8880c25

View File

@ -89,7 +89,7 @@ assert.empty = function(actual) {
}; };
assert.success = function(callback) { assert.success = function(callback) {
assert.calls(function(err, arg) { return assert.calls(function(err, arg) {
assert.isNull(err); assert.isNull(err);
callback(arg); callback(arg);
}) })