httping: use https in test on El Cap and above

This commit is contained in:
Viktor Szakats 2017-03-20 20:10:42 +01:00 committed by FX Coudert
parent 88a629d5d4
commit a59e60304a

View file

@ -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