We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a75bf9 commit bb572efCopy full SHA for bb572ef
tasks/yuitest.js
@@ -21,7 +21,7 @@ module.exports = function( grunt ) {
21
22
var message = "",
23
results = event.results,
24
- i, len;
+ i, len, gruntFailMessage;
25
26
switch(event.type){
27
case TestRunner.BEGIN_EVENT:
@@ -42,8 +42,9 @@ module.exports = function( grunt ) {
42
grunt.log.writeln("Tests failed:");
43
44
for (i=0,len=failures.length; i < len; i++){
45
- grunt.fail.warn(failures[i].name + "\n" + failures[i].error);
+ gruntFailMessage += failures[i].name + "\n" + failures[i].error;
46
}
47
+ grunt.fail.warn(gruntFailMessage);
48
49
50
// Tell grunt we're done the async operation
0 commit comments