aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/app/nodeify-test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/app/nodeify-test.js')
-rw-r--r--test/unit/app/nodeify-test.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/app/nodeify-test.js b/test/unit/app/nodeify-test.js
index 901603c8b..e21654a7b 100644
--- a/test/unit/app/nodeify-test.js
+++ b/test/unit/app/nodeify-test.js
@@ -13,6 +13,7 @@ describe('nodeify', function () {
it('should retain original context', function (done) {
var nodified = nodeify(obj.promiseFunc, obj)
nodified('baz', function (err, res) {
+ assert(err, null)
assert.equal(res, 'barbaz')
done()
})