From 1aa8880c2522a60bf24b44a6ad6c1868f1335e98 Mon Sep 17 00:00:00 2001 From: Brian Carlson Date: Fri, 21 Jan 2011 16:53:17 -0600 Subject: [PATCH] fixed asserter for success --- test/test-helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-helper.js b/test/test-helper.js index 6b03beab..7f01fa12 100644 --- a/test/test-helper.js +++ b/test/test-helper.js @@ -89,7 +89,7 @@ assert.empty = function(actual) { }; assert.success = function(callback) { - assert.calls(function(err, arg) { + return assert.calls(function(err, arg) { assert.isNull(err); callback(arg); })