|
|
|
@ -178,7 +178,7 @@ exports.watchConfig = {
|
|
|
|
|
grunt.file.write(path.join(cwd, 'lib', 'fail.js'), 'var fail = false;');
|
|
|
|
|
}, function(result) {
|
|
|
|
|
verboseLog(result);
|
|
|
|
|
test.ok(result.indexOf('<FATAL>') !== -1, 'Task should have been fatal.');
|
|
|
|
|
test.ok(result.toLowerCase().indexOf('fatal') !== -1, 'Task should have been fatal.');
|
|
|
|
|
test.equal(grunt.util._(result).count('Waiting...'), 2, 'Should have displayed "Wating..." twice');
|
|
|
|
|
test.done();
|
|
|
|
|
});
|
|
|
|
|