Fix failing test. Just look for fatal.
This commit is contained in:
parent
3682c6e654
commit
0a6f8fcf86
@ -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();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user