diff --git a/tasks/testem.js b/tasks/testem.js index f3b9e67..e285b54 100644 --- a/tasks/testem.js +++ b/tasks/testem.js @@ -45,7 +45,7 @@ module.exports = function(grunt) { var matches={}; data = ''+data; matches.path = data.match(/^# Executing (.+)$/); - matches.fail = data.match(/^not ok (.+)/); + matches.fail = data.match(/^not ok ([\s\S]+)/); if(matches.path){ grunt.log.writeln(matches.path[0]); }