diff options
| author | Jack Nagel | 2014-06-14 21:46:26 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-14 21:46:26 -0500 |
| commit | 98dc2cdb64256dfa4529bfce03447e4e52507c28 (patch) | |
| tree | 3cac2ec844bc1dd66814e1b8e4c1bd26610abbe4 | |
| parent | d48206e0d63fe34e22fa3248165340fdd513e8aa (diff) | |
| download | homebrew-98dc2cdb64256dfa4529bfce03447e4e52507c28.tar.bz2 | |
brew-test-bot: remove dead code
| -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 |
