aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-03-07 15:36:07 +0000
committerMike McQuaid2015-03-08 09:39:16 +0000
commit5206a2523e1b30f830f5cfffbd9965fefebf6fed (patch)
tree4f0c00dd0f53cc0c318383639e7339e2ebba9d95 /Library
parentfb993934220bb2af300b6f8789a2c598165ed4c5 (diff)
downloadbrew-5206a2523e1b30f830f5cfffbd9965fefebf6fed.tar.bz2
test-bot: rename variable to avoid shadowing.
Closes Homebrew/homebrew#37487. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/test-bot.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb
index 4e339fe65..2a50de918 100644
--- a/Library/Homebrew/cmd/test-bot.rb
+++ b/Library/Homebrew/cmd/test-bot.rb
@@ -786,9 +786,9 @@ module Homebrew
any_errors = false
if ARGV.named.empty?
# With no arguments just build the most recent commit.
- test = Test.new('HEAD', tap)
- any_errors = !test.run
- tests << test
+ head_test = Test.new('HEAD', tap)
+ any_errors = !head_test.run
+ tests << head_test
else
ARGV.named.each do |argument|
test_error = false