Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
exec('grunt lintspaces:newlines_amount_invalid', execOptions, function(error, stdout) {
var message = MESSAGES.NEWLINE_MAXIMUM_INVALIDVALUE.message.replace('{a}', '0');
test.equal(stdout.indexOf(message) > -1, true,
'A failure log message should appear when maximum newlines amount is less then 1.'
);
test.done();
});
}