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
commitf74b55e2a8b48f28a3e0e8d62df36a3c00d81306 (patch)
tree00118bb0d18a3601268b03eb99a935d6fd68837d /Library
parente4cb4ecfa4b9e1eefcc175a6d4c2885addd9bc01 (diff)
downloadhomebrew-f74b55e2a8b48f28a3e0e8d62df36a3c00d81306.tar.bz2
test-bot: rename variable to avoid shadowing.
Closes #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