diff options
| author | Jack Nagel | 2014-06-14 21:46:26 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-14 21:46:26 -0500 |
| commit | d487c3d97827ac9ff976cde5a5d587236a8ffb4c (patch) | |
| tree | 2a9270a6ae1b528faac7aef650661a6f58dc5ad5 /Library | |
| parent | c8fd1214bde185c392017994154ce52465a8b661 (diff) | |
| download | brew-d487c3d97827ac9ff976cde5a5d587236a8ffb4c.tar.bz2 | |
brew-test-bot: remove dead code
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/cmd/brew-test-bot.rb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb index 8ffa7998c..59e54a993 100755 --- a/Library/Contributions/cmd/brew-test-bot.rb +++ b/Library/Contributions/cmd/brew-test-bot.rb @@ -391,19 +391,12 @@ class Test end def check_results - message = "All tests passed and raring to brew." - status = :passed steps.each do |step| case step.status when :passed then next when :running then raise - when :failed then - if status == :passed - status = :failed - message = "" - end - message += "#{step.command}: #{step.status.to_s.upcase}\n" + when :failed then status = :failed end end status == :passed |
