serveit: remove references to pre-Mavericks.

This commit is contained in:
Mike McQuaid 2019-01-24 18:35:18 +00:00
parent 3f42ed0e1e
commit e4b21cad93
No known key found for this signature in database
GPG key ID: 48A898132FD8EE70

View file

@ -8,8 +8,6 @@ class Serveit < Formula
bottle :unneeded
depends_on "ruby" if MacOS.version <= :mountain_lion
def install
bin.install "serveit"
end
@ -18,7 +16,7 @@ class Serveit < Formula
begin
pid = fork { exec bin/"serveit" }
sleep 2
assert_match /Listing for/, shell_output("curl localhost:8000")
assert_match(/Listing for/, shell_output("curl localhost:8000"))
ensure
Process.kill("SIGINT", pid)
Process.wait(pid)