aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorDavid Broder-Rodgers2016-12-15 22:36:39 +0000
committerDavid Broder-Rodgers2016-12-18 22:37:26 +0000
commit0a007fc983c83d610b918bdd8e38038e2732c170 (patch)
treeb62dd48380bc249ef4f249f8cedabcf300bb86e0 /Library/Homebrew/test
parent482568579b8c9e699ca19207643cc483975869a4 (diff)
downloadbrew-0a007fc983c83d610b918bdd8e38038e2732c170.tar.bz2
Updated homepage 404 check to use explicit parameters and return the status code
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/audit_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/audit_test.rb b/Library/Homebrew/test/audit_test.rb
index 2725f906e..dace4dc2b 100644
--- a/Library/Homebrew/test/audit_test.rb
+++ b/Library/Homebrew/test/audit_test.rb
@@ -429,8 +429,8 @@ class FormulaAuditorTests < Homebrew::TestCase
fa.audit_homepage
assert_equal ["The homepage should start with http or https " \
- "(URL is #{fa.formula.homepage}).", "The homepage is not reachable " \
- "(curl exit code #{$?.exitstatus})"], fa.problems
+ "(URL is #{fa.formula.homepage}).", "The homepage #{fa.formula.homepage} is not reachable " \
+ "(HTTP status code 000)"], fa.problems
formula_homepages = {
"bar" => "http://www.freedesktop.org/wiki/bar",