Skip to content

Commit

Permalink
Removed unnecessary cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicola Girardi committed Dec 29, 2015
1 parent 9c00faf commit 3a5417a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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*/, ''));
});
};
Expand Down

0 comments on commit 3a5417a

Please sign in to comment.