From d487c3d97827ac9ff976cde5a5d587236a8ffb4c Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 14 Jun 2014 21:46:26 -0500 Subject: brew-test-bot: remove dead code --- Library/Contributions/cmd/brew-test-bot.rb | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3