diff --git a/lib/test.js b/lib/test.js index a8c090b4..171eea05 100644 --- a/lib/test.js +++ b/lib/test.js @@ -58,9 +58,8 @@ function Test (name_, opts_, cb_) { return function bound() { return val.apply(self, arguments); }; - } else { - return val; } + else return val; })(this, this[prop]); } }