Skip to content

Commit 3a5417a

Browse files
committed
Removed unnecessary cast
1 parent 9c00faf commit 3a5417a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Test.prototype.test = function (name, opts, cb) {
103103

104104
Test.prototype.comment = function (msg) {
105105
var that = this;
106-
String(trim(msg)).split('\n').forEach(function (aMsg) {
106+
trim(msg).split('\n').forEach(function (aMsg) {
107107
that.emit('result', trim(aMsg).replace(/^#\s*/, ''));
108108
});
109109
};

0 commit comments

Comments
 (0)