From cfc6f737f3848ea22d061e308970ad701d615698 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 11 Sep 2015 14:33:39 +0100 Subject: [PATCH] pull: allow pulling all testing jobs. --- Library/Homebrew/cmd/pull.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/pull.rb b/Library/Homebrew/cmd/pull.rb index edb905a366..308a1c158c 100644 --- a/Library/Homebrew/cmd/pull.rb +++ b/Library/Homebrew/cmd/pull.rb @@ -63,7 +63,7 @@ module Homebrew if arg.to_i > 0 url = "https://github.com/Homebrew/homebrew/pull/#{arg}" issue = arg - elsif (testing_match = arg.match %r{brew.sh/job/Homebrew%20Testing/(\d+)/}) + elsif (testing_match = arg.match %r{brew.sh/job/Homebrew.*Testing/(\d+)/}) _, testing_job = *testing_match url = "https://github.com/Homebrew/homebrew/compare/master...BrewTestBot:testing-#{testing_job}" odie "Testing URLs require `--bottle`!" unless ARGV.include?("--bottle")