diff --git a/lib/configuration.rb b/lib/configuration.rb --- a/lib/configuration.rb +++ b/lib/configuration.rb @@ -42,8 +42,10 @@ def report_comment(comment) case comment_report_style when :short - if comment.chomp =~ /^P+$/ # all P's + if comment.chomp =~ /^[\[\]P]+$/ # all P's 'passed' + elsif comment.chomp =~ /[Cc]ompil.*[Ee]rror/ + 'compilation error' else 'failed' end