httping: use https in test on El Cap and above
This commit is contained in:
parent
88a629d5d4
commit
a59e60304a
1 changed files with 5 additions and 1 deletions
|
@ -25,6 +25,10 @@ class Httping < Formula
|
|||
end
|
||||
|
||||
test do
|
||||
system bin/"httping", "-c", "2", "-g", "http://brew.sh"
|
||||
if MacOS.version >= :el_capitan
|
||||
system bin/"httping", "-c", "2", "-g", "https://brew.sh/"
|
||||
else
|
||||
system bin/"httping", "-c", "2", "-g", "http://brew.sh/"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue