trim test output

This commit is contained in:
Remy Sharp
2015-01-16 17:44:12 +00:00
parent fa7826a2ac
commit d10fe4e2be

View File

@@ -38,7 +38,7 @@ describe('nodemon fork monitor', function () {
}
if (startWatch && match(data, 'changes after filters')) {
var changes = colour.strip(data.trim()).split('changes after filters').pop().split('/');
var restartedOn = changes.pop();
var restartedOn = changes.pop().trim();
assert(restartedOn === '1', 'nodemon restarted on 1 file: ' + restartedOn + ' / ' + data.toString());
}
},