diff --git a/lib/test.js b/lib/test.js index 7c288bb6..94a42a81 100644 --- a/lib/test.js +++ b/lib/test.js @@ -103,7 +103,7 @@ Test.prototype.test = function (name, opts, cb) { Test.prototype.comment = function (msg) { var that = this; - String(trim(msg)).split('\n').forEach(function (aMsg) { + trim(msg).split('\n').forEach(function (aMsg) { that.emit('result', trim(aMsg).replace(/^#\s*/, '')); }); };